Re: Help with Form Submission and OnActivate Handler
Thanks Ma, Its working now! Thanks a lot! - Ashwanth On Wed, Dec 16, 2009 at 9:29 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 16 Dec 2009 13:47:09 -0200, Ashwanth Kumar < > ashwanth.ku...@gmail.com> escreveu: > > > Sorry, >> >> I dont understand. I'm a newbie here. So, mind explaining what exactly >> i've to do? >> I've onPassivate() with no argument in my page too. >> > > Well, I haven't understood your problem, as I never had any problems with > Form submissions interfering onActivate(). An onActivate() with one > parameter will only be invoked when the page is requested without an > activation contet (unless the parameter is a List, an Object[] or an > EventContext). > > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, software architect and developer, 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 > >
Re: Help with Form Submission and OnActivate Handler
Em Wed, 16 Dec 2009 13:47:09 -0200, Ashwanth Kumar escreveu: Sorry, I dont understand. I'm a newbie here. So, mind explaining what exactly i've to do? I've onPassivate() with no argument in my page too. Well, I haven't understood your problem, as I never had any problems with Form submissions interfering onActivate(). An onActivate() with one parameter will only be invoked when the page is requested without an activation contet (unless the parameter is a List, an Object[] or an EventContext). -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, 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
Re: Help with Form Submission and OnActivate Handler
Sorry, I dont understand. I'm a newbie here. So, mind explaining what exactly i've to do? I've onPassivate() with no argument in my page too. - Ashwanth On Wed, Dec 16, 2009 at 8:56 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 16 Dec 2009 13:08:59 -0200, Ashwanth Kumar < > ashwanth.ku...@gmail.com> escreveu: > > Hello, >> > > Hi! > > > I've a small doubt! Why is that, when i've a onActivate (Integer) handler >> in a page, i'm not able to submit the form to the same page? >> > > You need to have an onPassivate() to return the pages's activation context. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, software architect and developer, 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 > >
Re: Help with Form Submission and OnActivate Handler
Em Wed, 16 Dec 2009 13:08:59 -0200, Ashwanth Kumar escreveu: Hello, Hi! I've a small doubt! Why is that, when i've a onActivate (Integer) handler in a page, i'm not able to submit the form to the same page? You need to have an onPassivate() to return the pages's activation context. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, 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
Help with Form Submission and OnActivate Handler
Hello, I've a small doubt! Why is that, when i've a onActivate (Integer) handler in a page, i'm not able to submit the form to the same page? Is there any work around for this? - Ashwanth Kumar