Hello Igor, I need this method to be called 1. when the page is activated (for a normal render) 2. and also when an ajax method is called (for an ajax render). Is this possible? Regards, Julien.
2011/8/2 Igor Drobiazko <igor.drobia...@gmail.com> > 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 >