Re: error handling and redirect (was: how to logout and redirect)

2008-09-18 Thread Erik van Oosten
It mainly depends on whether you would like to allow a refresh, and how sensitive you are to nice URLs. The key difference is that the user will see that he/she lands on another URL when you called setRedirect(true). After that a refresh will reload the error page. With redirect set to false,

Re: how to logout and redirect

2008-09-17 Thread m_salman
://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]

Re: how to logout and redirect

2008-09-17 Thread James Carman
)); } 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

Re: how to logout and redirect

2008-09-17 Thread m_salman
tells Wicket to use the Servlet API to issue a redirect to go to the response page as opposed to just streaming it back as the response to the current request. -- View this message in context: http://www.nabble.com/how-to-logout-and-redirect-tp14878923p19543773.html Sent from the Wicket

how to logout and redirect

2008-01-16 Thread dvd
Hi: I used the following for logout Logout extend WebPage{    getSession().invalidateNow()    getResponse().redirect(.) When the link is clicked, it says Already redirecting to . Cannot redirect more than once What would be the solution.  (interestingly, the above worked a while ago) Now I am

Re: how to logout and redirect

2008-01-16 Thread Igor Vaynberg
almost but not quiet onclick() { getsession().invalidate(); getrequestcycle().setredirect(true); setresponsepage(somepage.class); } -igor On Jan 16, 2008 3:28 AM, wicket user [EMAIL PROTECTED] wrote: do you really need a Logout page can't you do some thing like Link logoutLink

RE: how to logout and redirect

2008-01-16 Thread Hoover, William
Add/Edit if necessary http://cwiki.apache.org/confluence/x/FSMB -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 12:06 PM To: users@wicket.apache.org Subject: Re: how to logout and redirect almost but not quiet onclick() { getsession