[richfaces-issues] [JBoss JIRA] Resolved: (RF-5950) Action param value is assined AFTER actionListener is called.
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Wed Jan 28 12:05:55 EST 2009
[ https://jira.jboss.org/jira/browse/RF-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski resolved RF-5950.
--------------------------------
Resolution: Rejected
Assignee: Tsikhon Kuprevich
Not a bug. Use actionListener attribute of actionparam component
> Action param value is assined AFTER actionListener is called.
> -------------------------------------------------------------
>
> Key: RF-5950
> URL: https://jira.jboss.org/jira/browse/RF-5950
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.3.0
> Environment: 3.3.0.GA
> java version "1.6.0_10"
> apache-tomcat 6.0.18
> Reporter: Sergey Halipov
> Assignee: Tsikhon Kuprevich
> Priority: Critical
>
> XHTML:
> <a4j:commandButton styleClass="button"
> value="${messages['freesale.action.stop.sale']}"
> actionListener="#{managementBean.update}"
> action="#{salesTab.afterManage}">
> <a4j:actionparam name="userId"
> value="#{formTab.currentUserId}"
> assignTo="#{managementBean.userId}" />
> </a4j:commandButton>
> Beans:
> public void update(final ActionEvent event) {
> System.out.println(">>> Action listener invoked.");
> }
> public String afterManage() {
> System.out.println(">>> Action invoked.");
> return null;
> }
> public void setUserId(Long userId) {
> this.userId = userId;
> System.out.println(">>> Set action param.");
> }
> 3.3.0 GA output:
> >>> Action listener invoked.
> >>> Set action param.
> >>> Action invoked.
> 3.2.1 GA output:
> >>> Set action param.
> >>> Action listener invoked.
> >>> Action invoked.
--
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