on requestcycle.onruntimeexception you can redirect to your error page
passing in the exception.
-igor
On Mon, Feb 2, 2009 at 9:03 AM, Steve Swinsburg
s.swinsb...@lancaster.ac.uk wrote:
Hi all,
I have specified some pages that I would like rendered in place of the
Wicket exception pages, in
thanks igor. does that work for the other types of errors like
SessionExpired etc? Not sure if I need to capture that one yet though,
but I will need to redirect with a page ref (url).
cheers,
Steve
On 2 Feb 2009, at 17:05, Igor Vaynberg wrote:
on requestcycle.onruntimeexception you
no, for page expired error there is no exception it goes straight to the page
-igor
On Mon, Feb 2, 2009 at 9:13 AM, Steve Swinsburg
s.swinsb...@lancaster.ac.uk wrote:
thanks igor. does that work for the other types of errors like
SessionExpired etc? Not sure if I need to capture that one yet
Hi all,
I have specified some pages that I would like rendered in place of the
Wicket exception pages, in deployment mode, like so:
/* if Session expires, show this error instead */
getApplicationSettings
().setPageExpiredErrorPage(SessionExpiredPage.class);
/* if internal