Re: different page expired error page?

2012-12-10 Thread Karsten Gaul
Hi, and sorry. Forgot to mention that I'm using wicket 1.4.21 so I was trying to override AbstractRequestCycleProcessor#respond(RuntimeException e, RequestCycle requestCycle) and on second thought I guess overriding RequestCycle#onRuntimeException should do the trick. I'll give it a try. Th

Re: different page expired error page?

2012-12-10 Thread Martin Grigorov
Hi, See org.apache.wicket.request.cycle.AbstractRequestCycleListener#onException With this you can return RenderPageRequestHanlder specific for any type of exception. On Mon, Dec 10, 2012 at 11:37 AM, Karsten Gaul wrote: > Hi, > > is there a way to have different page expiry error pages? For my

different page expired error page?

2012-12-10 Thread Karsten Gaul
Hi, is there a way to have different page expiry error pages? For my app I would like to redirect browsing users (not logged in) to a real error page which is plain and simple but logged in users should be redirected to the login page on session timeout. Thanks, Karsten