Hi Thiago, Thanks for the tip, never knew there is this EventContext, is following onPassivate correct:
private EventContext ec; public Object onActivate(EventContext obj) { ec = obj;} public EventContext onPassivate() { return ec; } What's the advantage of using EventContext compared to Object[], I know it is neat, any other reason? Thanks, Angelo Thiago H. de Paula Figueiredo wrote: > > Most probably you're including images in your page using relative > paths. Use ${asset:context/images/loading.gif} instead and the problem > goes away. ;) > > By the way, use EventContext instead of Object[] as the parameter of > your onActivate method. ;) > > -- > Thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/t5%3A-onActivate-called-twice-tp22053148p22057115.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org