I you have a single value to store in the page activation context, use
the @PageActivationContext field annotation, and Tapestry will provide
the activate and passivate event handlers for you.  However, it
(currently) only supports a single field.



On Mon, May 28, 2012 at 1:08 PM, Thiago H de Paula Figueiredo
<thiag...@gmail.com> wrote:
> On Mon, 28 May 2012 14:39:34 -0300, Juan Alba <juan.a...@condortech.com.ar>
> wrote:
>
>> Thanks for the help Taha.
>>
>> I am taking a look on these links.
>>
>> At first sight I see that the onPassivate is returning a Long (in the
>> example), in the case that I have 2 parameters on the onActivate method,
>> how do I use them without persist? I can't do 2 onPassivate() :S
>
>
> You can return a list of Object in onPassivate() if you want.
>
> --
> Thiago
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to