Page Redirection (Login)

2007-09-09 Thread Karl M. Davis
Hello all, Maybe it's just late but I'm pretty confused by how the following code snippets are supposed to work and the differences between them: redirectToInterceptPage(new Login(getPage())); throw new RestartResponseAtInterceptPageException(new Login(getPage()));

Re: Page Redirection (Login)

2007-09-09 Thread Maurice Marrink
What you are describing only makes sense if the loginpanel is located on the loginpage. Typically the redirectToInterceptPage works by storing the current page in the session before going to the new page, the stored page is retrieved and set as the new destination when