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 Start.java] but requesting www.example.com/app
just yields a blank page?

I can get it to work using

@Inject private Response response;
public void onActivate() throws IOException {
 response.sendRedirect("PageName");
}

but that seems a bit ugly. What is the proper Tapestry (5) way to redirect?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to