You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mike Kienenberger <mk...@gmail.com> on 2006/08/10 20:53:55 UTC
Re: Wrap actionListener methods
On 7/19/06, Hubert Rabago <hr...@gmail.com> wrote:
> Is there a way to wrap all calls to methods called by <h:something
> actionListener=""/> attributes? Something like
> ActionListener.processAction(ActionEvent) does for <h:something
> action=""/> methods?
Maybe, but we might have an easier time telling you how to solve your
particular problem rather than telling how you to accomplish a
specific technical task in this case.
I'd think ActionListener.processAction would work for both if it
worked for one, but I haven't actually browsed through the code.
Re: Wrap actionListener methods
Posted by Hubert Rabago <hr...@gmail.com>.
Oops. Meant to send it to the list.
---------- Forwarded message ----------
To: Mike Kienenberger <mk...@gmail.com>
On 8/10/06, Mike Kienenberger <mk...@gmail.com> wrote:
> On 7/19/06, Hubert Rabago <hr...@gmail.com> wrote:
> > Is there a way to wrap all calls to methods called by <h:something
> > actionListener=""/> attributes? Something like
> > ActionListener.processAction(ActionEvent) does for <h:something
> > action=""/> methods?
>
> Maybe, but we might have an easier time telling you how to solve your
> particular problem rather than telling how you to accomplish a
> specific technical task in this case.
Thanks for responding, Mike. Actually, I first sent a message that
did state what I was trying to do [1], but either no one had an answer
or it was too wordy and turned people off. :) So, just in case, I
tried a shorter question.
> I'd think ActionListener.processAction would work for both if it
> worked for one, but I haven't actually browsed through the code.
I've tried it but it doesn't work for me. I ended up overriding the
Lifecycle object provided by the framework to do what I needed to.
Thanks!
Hubert
[1] http://marc.theaimsgroup.com/?l=myfaces-user&m=115325608116402&w=2