Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:ICEFaces 2,0
Description
The currently approved method for inserting javascript into the response is to create an instance of UIOutput that starts a script element, modifies attributes, writes the javascript as a text child, and closes the Element. The current method creates an UIOutput object to write a textNode which consists of the complete script String. This makes it very difficult to appropriately escape the <script> tags in the response writer
In the basic demo, it looks like a <span> tag is being produced rather than a <script> tag.