[richfaces-issues] [JBoss JIRA] (RF-11446) a4j:jsFunction actionListener= method called before a4j:param assignTo setter

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Aug 28 16:55:26 EDT 2013


    [ https://issues.jboss.org/browse/RF-11446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799985#comment-12799985 ] 

Brian Leathem commented on RF-11446:
------------------------------------

I committed a test demonstrating this issue:
https://github.com/richfaces/richfaces/commit/96b4fc65337e8dee99e55b1adf44261e3ef5b59b
                
> 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: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list