2009/11/21 Thiago H. de Paula Figueiredo <thiag...@gmail.com>

> Em Sat, 21 Nov 2009 09:32:32 -0200, cordenier christophe <
> christophe.corden...@gmail.com> escreveu:
>
>  Hi
>>
>
> Hi!
>
>  OnActivate is called once to activate the page.
>>
>
> Right, but when a form is submitted or an ActionLink or EventLink is used,
> onActivate() is invoked twice: one for the action request, one for the
> render request. This happens because Tapestry implements
> redirect-after-post.


Exactly, i should have said OnActivate is called once per request :)


>
>
>  OnPassivate is called each time a link is created to allow you to persist
>> datas between request.
>>
>
> Absolutely right. :)
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, software architect and developer, 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
>
>

Reply via email to