On Fri, 04 May 2012 16:27:44 -0300, Norman Franke <nor...@myasd.com> wrote:
I'm sorry for not having the time to check this with code now, but I
don't think this is correct. As far as I know, onActivate() is only
invoked when the page is requested. onPassivate() is invoked every time
you generate an event link inside the page.
I did check, and in 5.3.3 it doesn't seem to anymore. I'm pretty sure it
was in 5.1.x, but never really checked recently.
This hasn't changed at least since the 5.0.5 days, when I started using
Tapestry. What you've experienced was probably the relative assets
(images, CSS) pitfall. So, people, please stop saying that onActivate() is
invoked too much and to avoid using it to fetch data at all costs. ;)
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org