Adrien Adrien created RF-12116:
----------------------------------
Summary: RF 4.2 : jquery not generated for function
Key: RF-12116
URL:
https://issues.jboss.org/browse/RF-12116
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.Final
Environment: JBoss 7.1 /RF4.2
Reporter: Adrien Adrien
This code doesn t generate javascript expected
<rich:jQuery name="selectNewMsg"
query="addClass('curmsg');" />
Code generated in html page
<script type="text/javascript">selectNewMsgee =
RichFaces.jQuery.createFunction({"query":"addClass('curmsg');"}
);</script>
Expected something like :
<script type="text/javascript">//<![CDATA[
function selectNewMsg(elm, param) {
var selector = "";
try {
selector = eval("");
} catch (e) {}
jQuery(elm || selector).parent().parent().addClass('curmsg');
}
//]]></script>
--
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