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:
onClick() method of Link in LoginPanel: public void onClick() { redirectToInterceptPage(new Login(getPage())); } onSubmit() method of SignInForm on LoginPage: protected final void onSubmit() { super.onSubmit(); ... if ( ... /* login was successful */) { if (previousPage != null) setResponsePage(previousPage); if (!continueToOriginalDestination()) setResponsePage(getApplication().getHomePage()); } else { error("Unable to login."); } } This leaves the user on the LoginPage when they successfully login. I'm stumped: can anyone offer some advice or point me to where the intricacies of all of those code snippets is explained? Thanks! Karl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] |
- Page Redirection (Login) Karl M. Davis
- Re: Page Redirection (Login) Maurice Marrink