Thanks all for the responses. I have got my questions answered. @Katia Is asking trivia questions discouraged? i didnt know. i will ask something here only as the last resort.
regards On Tue, Nov 9, 2010 at 11:42 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 09 Nov 2010 14:33:20 -0200, Richard Hill <r...@su3analytics.com> > wrote: > > @Persist stores the field value in the session, scoped to the page. It >> will persist for the duration of the session. This will time-out per >> whatever the default is for your servlet container. So yes if your >> session time-out is lengthy and you have a lot of users over that time, >> then yes what's in the session will add up. >> > > Absolutely right. @Persist("flash") is a little bit different: after being > put in the session, the value is removed from when it's read for the first > time. It's ideal for redirect-after-post situations, specially forms. > > > You can have multiple onActivates with different numbers of arguments. >> You can pass integers, doubles etc too as tapestry will attempt to >> coerce the passed string values into the types specified in the >> onActivate method(). >> > > It's correct, but I recommend having a single onActivate(EventContext > context). It will be called for requests with any number of parameters. > Tapestry converts the activation context values to various types using > TypeCoercer, a Tapestry-IoC service. You can even your own conversions if > needed. > > -- > 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 > >