myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "simon.kitching@chello.at" <simon.kitch...@chello.at>
Subject Re: access names of called actions and beans
Date Wed, 02 Jul 2008 09:13:51 GMT
simon.kitching@chello.at schrieb:
> Michael Heinen schrieb:
>> Hi Rafa,
>>
>> how does this global ActionListener work?
>> I defined one in the faces-config and it's processAction method is 
>> called.
>> But the action/actionListener of my commands are not executed anymore!
>>   
> It's like all the other pluggable JSF classes. If you replace the 
> standard implementation, then you need to either provide a complete 
> implementation (no stub methods), or you need to delegate to a 
> complete implementation.
>
> So in your case, you need a constructor that takes an ActionListener 
> instance, and save it away. Then in other methods, delegate to the 
> object that was passed to the constructor.
>
> See the jsf spec for more details.

Sorry, please ignore my email. I was thinking of a different class.


Mime
View raw message