Rendering HTML elements inside a script section confuses HtmlResponseWriterImpl
-------------------------------------------------------------------------------
Key: MYFACES-2668
URL: https://issues.apache.org/jira/browse/MYFACES-2668
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.1-SNAPSHOT
Environment: PrimeFaces
Reporter: Jakob Korherr
Assignee: Jakob Korherr
Calling startElement() currently resets _isScript in HtmlResponseWriterImpl,
thus the rendering of any component inside a script section (which most likely
calls startElement()) does not work correclty, because the information that we
currently are inside a script gets lost and thus the comment-end is not written
at the end of the script.
Normally we would not think of rendering a component inside a script section,
but PrimeFaces does it in its DataTable with columnFilter and I guess it is
totally ok to do that.
Here is the related thread from the mailing list:
http://www.junlu.com/list/43/621770.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.