If the handler methods for two different events are same, then you probably
need only a single event.

BTW: Firing activate event might cause unexpected behavior as activate is
already "reserved" by Tapestry.

On Tue, Aug 2, 2011 at 5:06 PM, Julien Martin <bal...@gmail.com> wrote:

> Hello,
> I need for a method to be called upon several events (e.g. ACTIVATE and
> ACTION).
> I tried the following:
>
> *    @OnEvent(value = {EventConstants.ACTIVATE, EventConstants.ACTION})
>    void loadJobPostings() {
>        jobPostings = service.loadJobPostings();
>    }
> *
> and it does not work/compile unfortunately. Am I missing something?
> Can anyone please help?
> Regards,
> Julien.
>



-- 
Best regards,

Igor Drobiazko
http://tapestry5.de

Reply via email to