Re: [Wicket-user] immediate redirect?
Thanks. That was what I needed. In wicket 1.2 you just have to add this line of code: throw new RestartResponseAtInterceptPageException (YourFancyErrorPage.class); I'm not sure if this one will work with wicket version prior to 1.2, but then it might be worth the upgrade ;-) --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] immediate redirect?
In wicket 1.2 you just have to add this line of code: throw new RestartResponseAtInterceptPageException(YourFancyErrorPage.class); I'm not sure if this one will work with wicket version prior to 1.2, but then it might be worth the upgrade ;-) -- View this message in context: http://www.nabble.com/immediate-redirect--t1448808.html#a3915673 Sent from the Wicket - User forum at Nabble.com. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] immediate redirect?
Hi, can anyone help me how I can redirect/setresponsepage immediately and interrupting the current call? For example: If at some point in my application I encounter a database error. I would like to redirect the user to nice error-page and quit processing the current request. Thank you for any help, Alex --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user