[
https://issues.jboss.org/browse/RF-12116?page=com.atlassian.jira.plugin.s...
]
Adrien Adrien commented on RF-12116:
------------------------------------
It is need to add parameter for method call to migrate from RF3.3 to RF4.2
RF4.2
<rich:jQuery name="selectNewMsg"
query="addClass('curmsg',"");" />
RF3.3
<rich:jQuery name="selectNewMsg"
query="addClass('curmsg');" />
Don't know if you consider it as workaround of a 'bug' or new signature
method.
Adrien
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)
Components: component-misc
Affects Versions: 4.2.0.Final
Environment: JBoss 7.1 /RF4.2
Reporter: Adrien Adrien
Labels: rich:jquery, waiting_on_user
This code doesn t generate javascript expected
{code:title=Facelet markup}
<rich:jQuery name="selectNewMsg"
query="addClass('curmsg');" />
{code}
{code:title=Generated javascript}
<script type="text/javascript">selectNewMsgee =
RichFaces.jQuery.createFunction({"query":"addClass('curmsg');"}
);</script>
{code}
{code:tilte=Expected javascript}
<script type="text/javascript">//<![CDATA[
function selectNewMsg(elm, param) {
var selector = "";
try {
selector = eval("");
} catch (e) {}
jQuery(elm || selector).parent().parent().addClass('curmsg');
}
//]]>
</script>
{code}
--
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