Well, yes, I probably have to implement onPassivate() and this will restore activation context. I haven't think about that, thanks for mentioning.
Anyway, its just I don't need to involve the page with its activate/passivate logic for this action -- the registrationForm component is completely independent. On Fri, Mar 29, 2013 at 11:22 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 29 Mar 2013 14:11:14 -0300, Dmitry Gusev <dmitry.gu...@gmail.com> > wrote: > > Hi, >> > > Hi! > > > The problem is, is that current page had some activation context, then I >> have to put this context to <t:form />'s context parameter, to restore >> the page state. >> > > I don't think you need to do that, as Tapestry does it already, provided > that your pages have an onPassivate() method and every page with activation > context should have one. Check any event or form action URL and you'll see > the page context activation there. > > -- > Thiago H. de Paula Figueiredo > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org> > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Dmitry Gusev AnjLab Team http://anjlab.com