Hi Thiago,

I just read again that doc, here is what I understand:

you need a onPassivate to persist the context on the client side if:

1. you have a form in the page
2. if you have an action link in the page

correct?

Angelo


Thiago H. de Paula Figueiredo wrote:
> 
> On Tue, Feb 17, 2009 at 10:28 AM, Angelo Chen
> <angelochen...@yahoo.com.hk> wrote:
> 
>> Hi Thiago,
> 
> Hi!
> 
>> I always make sure i have a onPassivate that returns same thing in the
>> onActivate,
> 
> That's a good thing, returning the the save value, but not necessarily
> the same type.
> 
>> now, must be wrong, what is the rule of  thumb on this? why we
>> need a onPassivate?
> 
> There's a good explanation here:
> http://tapestry.apache.org/tapestry5/guide/pagenav.html.
> 
> -- 
> 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-tp22053148p22059004.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

Reply via email to