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

Werner Punz edited comment on MYFACES-3321 at 9/26/11 1:06 PM:
---------------------------------------------------------------

This is not a bug. The only time this happens in my testcases here is whenever 
a innerHTML is issued from the script itself with an & sign. And there the 
browser simply has this behavior.  Normal & are not affected.
aka
<script>
node.innerHTML = "bla & bla" results in bla &amp; bla due to browser behavior 
regarding innerHTML
</script>
<script>
true && true;
</script>
will show up in the browser as final result true && true


      was (Author: werpu):
    This is not a bug, per se, the problem there is that the innerHTML of the 
browser itself issues the replacement, I am not even sure if it just does not 
replace simply & issued by innerHTML commands within the evaled scripts. I will 
try to find a workaround to this issue.

  
> jsf.js: Script fragments evaluated after an ajax operation encode '&' 
> character into '&amp;'
> --------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3321
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3321
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Werner Punz
>
> Script fragments containing & characters are encoded into &amp; before the 
> script is evaluated. I checked the code from the server side and it is 
> correct, so the problem is on the javascript part. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to