[ 
https://issues.apache.org/jira/browse/MYFACES-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakob Korherr resolved MYFACES-2668.
------------------------------------

    Fix Version/s: 2.0.1-SNAPSHOT
       Resolution: Fixed

> 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
>             Fix For: 2.0.1-SNAPSHOT
>
>
> 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.

Reply via email to