myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (Commented) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3339) jsf.js:render all corner case fails on IE and chrome
Date Thu, 29 Sep 2011 10:35:45 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117200#comment-13117200
] 

Werner Punz commented on MYFACES-3339:
--------------------------------------

Ok a client side fix does not make sense there. This needs to be resolved on partial response
writer level.
The myfaces ppr should introduce CDATA escapes aka the script should become:

<script type="text/javascript">
<CDATA[[
    var a && b;
]]>
</script>

<update id="..."><CDATA[[...
<script="text/javascript">
<!CDATA[[
]]]]><!CDATA[[>
</script>
]]></update>

This is perfectly viable since more than one cdata section can follow the update.

I remember that I once introduced such an escape code in our codebase, I wonder why it is
gone.
I have to forward this to leo to check why we do not escape cdata sections anymore in our
PPR.


                
> jsf.js:render all corner case fails on IE and chrome
> ----------------------------------------------------
>
>                 Key: MYFACES-3339
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3339
>             Project: MyFaces Core
>          Issue Type: Bug
>            Reporter: Werner Punz
>
> One of my automated tests regarding render javax.faces.ViewRoot fails on chrome and ie,
it works on all other browsers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message