Re: Redirect Question

2007-05-28 Thread Hilco Wijbenga
Ok, you managed to confuse me now. :-) On 5/28/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: What is "/app"? Is it a page? Tapestry 5 doesn't use a mapping to a servlet named "/app". T5 should see that URL, identify it as a page render request and see that there's no such page, and let the

Re: Redirect Question

2007-05-28 Thread Howard Lewis Ship
What is "/app"? Is it a page? Tapestry 5 doesn't use a mapping to a servlet named "/app". T5 should see that URL, identify it as a page render request and see that there's no such page, and let the servlet container send a normal 404 error result. On 5/28/07, Hilco Wijbenga <[EMAIL PROTECTED]>

Re: Redirect Question

2007-05-28 Thread Hilco Wijbenga
On 5/28/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: It's easy if you do it from activate event handler method (onActivate()), just return the page name or page instance to redirect to. Once you progress as far as the SetupRender phase, you are committed to rendering a response. Yes, that'

Re: Redirect Question

2007-05-28 Thread Howard Lewis Ship
It's easy if you do it from activate event handler method (onActivate()), just return the page name or page instance to redirect to. Once you progress as far as the SetupRender phase, you are committed to rendering a response. On 5/27/07, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: On 5/27/07, J

Re: Redirect Question

2007-05-27 Thread Hilco Wijbenga
On 5/27/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: void setup() { throw new PageRedirectException("YourPageName"); } So what about T5? I found "onActivate()" in the mailinglist and that works ... partially. Requesting www.example.com/app/start redirects as expected [onActivate() is in Sta

RE: Redirect Question

2007-05-27 Thread Jonathan Glanz
Thx a mil mate... -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Sunday, May 27, 2007 9:23 PM To: Tapestry users Subject: Re: Redirect Question void setup() { throw new PageRedirectException("YourPageName"); } ? On 5/27/07, Jonathan Glanz <[EM

Re: Redirect Question

2007-05-27 Thread Jesse Kuhnert
void setup() { throw new PageRedirectException("YourPageName"); } ? On 5/27/07, Jonathan Glanz <[EMAIL PROTECTED]> wrote: In my setup function I need to be able to redirect to another page, any ideas? -thx, Jon -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based c