[
https://issues.jboss.org/browse/RF-12130?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-12130:
-------------------------------
Fix Version/s: (was: 4.2.1.CR1)
Description:
delimiter ";" is missing when JSObject (JSObject.java) is used to render js
scripts.
For example with myfaces-2.1.6
{code}
<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>
{code}
When this sequence occurs in html markup everything is broken. javax.faces.ViewState
cannot be updated (by js) after ajax response (by js) contains
was:
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
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
delimiter ";" is missing when JSObject (JSObject.java) is used to render js
scripts.
For example with myfaces-2.1.6
{code}
<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>
{code}
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