Are you instantiating (injecting) the page somewhere? onActive is called called once when required, you have to tell more about your case if you want reasonable answers.
Kalle On Thu, Aug 11, 2011 at 11:44 AM, nillehammer <tapestry.nilleham...@winfonet.eu> wrote: > Hi List, > > I've never really used onActivate so I did not care about how often it would > be called... up to today. I have a single onActivate(EventContext context) > and corresponding onPassivate in my page class and use the context to load > som data from the db. I suddenly realized that onActivate allways get's > called twice. > > The first thing I have done to fix this, was double checking all my > css/js/tml/java files for usage of relative URLs, as suggested by Thiago in > this thread: > http://tapestry.1045711.n5.nabble.com/t5-onActivate-called-twice-td2429079.html#a2429087 > Without success > > Then I thought some unseen redirects could be the cause. I installed > HTTP-Live Headers plugin in FF5 to observe the HTTP headers. No redirects > sent. CSS-files and images are cached and the only GET-request for the page > ittself is answered with HTTP OK. > > Where else could I look? > > Thanks in advance > > ----- > http://www.winfonet.eu > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-2-6-Activate-called-twice-tp4690554p4690554.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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org