[richfaces-issues] [JBoss JIRA] (RF-12130) missing javascript delimiter

wojtek k (JIRA) jira-events at lists.jboss.org
Tue Apr 3 10:13:47 EDT 2012


    [ https://issues.jboss.org/browse/RF-12130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681310#comment-12681310 ] 

wojtek k commented on RF-12130:
-------------------------------

on myfaces jira see
MYFACES-3521
                
> missing javascript delimiter
> ----------------------------
>
>                 Key: RF-12130
>                 URL: https://issues.jboss.org/browse/RF-12130
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component
>    Affects Versions: 4.2.0.Final
>         Environment: all
>            Reporter: wojtek k
>             Fix For: 4.2.1.CR1
>
>
> delimiter ";" is missing when JSObject (JSObject.java) is used to render js scripts.
> For example with myfaces-2.1.6
> <script type="text/javascript"><!--
> new RichFaces.ui.Tooltip("j_id_5:j_id_8",{"ajax":{"incId":"1"} ,"target":"j_id_5:j_id_6","offset":[10,10] } )
> //--></script></span></div></div>
> 	<script><!--
> 		(1==2)? 'a':'b';
> //--></script>
> When this sequence occurs in  html markup everything is broken. javax.faces.ViewState cannot be updated (by js) after ajax response (by js) contains 

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

        


More information about the richfaces-issues mailing list