I am not sure what the getrequestcycle().setredirect(true); is for.
Can you please explain that a little bit. Why can't I just set the response
page.
Is that something special for logouts?
Do I need to use 'setRedirect(true)' for th following also?
catch (ApplicationException ae)
{
setResponsePage(new ErrorPage(ae));
}
Thanks. Appreciate your help.
igor.vaynberg wrote:
>
> almost but not quiet
>
> onclick() { getsession().invalidate();
> getrequestcycle().setredirect(true); setresponsepage(somepage.class);
> }
>
> -igor
>
>
--
View this message in context:
http://www.nabble.com/how-to-logout-and-redirect-tp14878923p19543431.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]