]
Brian Leathem commented on RF-11446:
------------------------------------
I committed a test demonstrating this issue:
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: 5-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.
{code}
<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>
{code}
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
For more information on JIRA, see: