[richfaces-issues] [JBoss JIRA] Resolved: (RF-8215) <f:actionParam> is invoked on INVOKE_APPLICATION phase rather than UPDATE_MODEL_VALUES phase when used inside a jsFunction
Sean Rogers (JIRA)
jira-events at lists.jboss.org
Tue Jan 26 23:52:20 EST 2010
[ https://jira.jboss.org/jira/browse/RF-8215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Rogers resolved RF-8215.
-----------------------------
Resolution: Done
Committed fix to SVN revision 16365.
> <f:actionParam> is invoked on INVOKE_APPLICATION phase rather than UPDATE_MODEL_VALUES phase when used inside a jsFunction
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-8215
> URL: https://jira.jboss.org/jira/browse/RF-8215
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: doc
> Affects Versions: 3.3.2.SR1
> Reporter: George Gastaldi
> Assignee: Sean Rogers
> Fix For: 3.3.3.CR1
>
>
> The documentation in http://livedemo.exadel.com/richfaces-demo/richfaces/actionparam.jsf?c=actionparam&tab=usage and http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/a4j_actionparam.html states that the property assigned in the "assignTo" attribute is set in the UPDATE_MODEL_VALUES phase.
> By using a jsFunction with an actionParam, it is possible to see that the assignment is done on the INVOKE_APPLICATION phase, thus calling the actionListener defined in the jsFunction
> Example:
> <a4j:jsFunction name="myJsFunction" actionListener="#{myBean.myActionListener}" >
> <a4j:actionparam name="param1"assignTo="#{myBean.paramName}" />
> </a4j:jsFunction>
> Calling: myJsFunction('Any Value') does the trick. The ActionListener will be called BEFORE the assignment of the actionParam
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list