Hi,

I have form in my page.  When the user submits the form, I want to process
the info and move to the next page.  

e.g.

http://localhost:8080/target/thepage/1 - when the user clicks submit here I
want to go to
http://localhost:8080/target/thepage/2 - when the user clicks submit here I
want to go to
http://localhost:8080/target/thepage/3
and so on.

So, in the form submit handler what is the best way to do this?

<???> onSuccessFromTheForm() {
  
   //how I move to the next page here?

}


I saw 
http://tapestry.apache.org/tapestry5.1/guide/pagenav.html
which speaks about different kinds of return types...String, Link etc.

Maybe I should construct a Link object 
Link onSuccessFromTheForm() {
  Link link = new LinkImpl(....);
  return link;
}

Can anyone tell me what parameters to pass to LinkImpl??  or is there
another way i can do it?

Thanks.


-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/moving-to-the-next-page-after-form-submit-tp3277654p3277654.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to