myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <>
Subject Re: change the order in which action and actionListener methods are called
Date Tue, 20 Mar 2007 19:18:22 GMT
You could have your actionListener method re-register itself to execute in
another phase (InvokeApplication) when it runs.   "Action" should already be
registered at this point.  That would be doing it within the JSF framework.

Doing it in your application code would be having the actionlistener
register itself in some application variable, then having your action method
iterate through those registered actionlisteners at the end of its current

On 3/13/07, Madhav Bhargava <> wrote:
>  Hi All,
> Normally the actionListeners that are registered with any UICommand
> component are called first and then the action methods are called.
> Since there can be more than one ActionListener methods that can be
> attached to a UICommand component – Is there a way in which one of the
> ActionListener methods can be scheduled/marked to execute after the action
> method has been executed?
> Regards,
> Madhav
>  **************** CAUTION - Disclaimer *****************
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this e-mail
> or its contents to any other person and any such actions are unlawful. This
> e-mail may contain viruses. Infosys has taken every reasonable precaution to
> minimize this risk, but is not liable for any damage you may sustain as a
> result of any virus in this e-mail. You should carry out your own virus
> checks before opening the e-mail or attachment. Infosys reserves the right
> to monitor and review the content of all messages sent to or from this
> e-mail address. Messages sent to or from this e-mail address may be stored
> on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***

View raw message