Folks,

In the Tapestry examples, after a form submission, the next page to be
displayed is set using the IRequestCycle.setPage() method.  Is this the
recommended way of doing things?  

My usual pattern is to process to form submission (usually a POST), then
redirect the browser to another page.  Does setPage() perform a redirect, or
does it just render the page directly?

Also, is there any way of specifying the next page in the cycle within the
page spec file, rather than in the java?  I'd much rather not pollute the
Java with page flow like that, I really think it belongs in the .jwc file.


cheers
kenny


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to