[
https://issues.jboss.org/browse/RF-11446?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-11446:
-------------------------------
Fix Version/s: 4.2.0.Tracking
Component/s: component-a4j-core
a4j:jsFunction actionListener= method called before a4j:param
assignTo setter
-----------------------------------------------------------------------------
Key: RF-11446
URL:
https://issues.jboss.org/browse/RF-11446
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.Final
Environment: Mojarra 2.1.3
Reporter: Brendan Healey
Fix For: 4.2.0.Tracking
In the following scenario when the jsTest() function is called then in
the server log I see the jsTestAction method executing before the
setJsTestParam method, so the parameter supplied by a4j:param is useless.
<a4j:jsFunction name="jsTest"
oncomplete="alert(event.data)"
actionListener="#{bean.jsTestAction}"
data="#{bean.jsTestData}">
<a4j:param name="p1" value="Fred"
assignTo="#{bean.jsTestParam}"/>
</a4j:jsFunction>
The workaround is to use action= rather than actionListener, but this
is a pretty fundamental issue and ought to be fixed IMHO.
--
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