-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
{markdown}
Currently, `ClientScript` has an ambiguous API, and violates the [Single Responsibility Principle](http://www.oodesign.com/single-responsibility-principle.html) by being a wrapper around scripts and rendering scripts. Instead it should be replaced with a simple `String` wrapper class, `Script`, and an `AlloyScript` script (which also contains the modules). A list of these scripts should be accessible via the new `FacesRequestContext`.{markdown}
Currently, `ClientScript` has an ambiguous API, and violates the [Single Responsibility Principle](http://www.oodesign.com/single-responsibility-principle.html) by being a wrapper around scripts and rendering scripts. Instead it should be replaced with a simple `String` wrapper class, `Script`, and an `AlloyScript` script (which also contains the modules). A list of these scripts should be accessible via the new `FacesRequestContext`.{markdown}