On Mon, Apr 1, 2013 at 3:19 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote:
> On Sat, 30 Mar 2013 05:29:47 -0300, Dmitry Gusev <dmitry.gu...@gmail.com> > wrote: > > So, the onPassivate() didn't worked, there's no context in the form's >> action... looking for another options. >> > > Did you put the onPassivate() method in the page, not in the component? Yes, I put it in the page. > Have you checked it actually returned the correct activation context > value? In event links (and form submission is one of them), the page > activation context is usually put at the t:ac query parameter. I checked, I actually returned some constant value from onPassivate() to see if it appeared in the action URL, and it wasn't there. I may be misunderstanding this, but isn't t:form has its own context property for that purpose? EventLink also has this property. If I understand this right, onPassivate() is used only for request-after-redirect so that browser will get correct URL after handling of event. > > -- > 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