Hi,

I'm looking at overriding onRuntimeException[1]to do some cleanup if
there was an exception,however I want the standard error handling page
to be displayed.

I thought I would need use getInternalErrorPage and then do some
tricky stuff to instantiate it, but after inspecting
AbstractRequestCycleProcessor then it appears that just returning null
is sufficient to get the standard wicket error handling page.

It would be nice if the documentation stated that returning null will
leave it up to the RequestCycleProcessor to display what page to
display, and that the standard wicket RequestCycleProcessor will
simply display the default error page in this case.

Regards
Pete

[1] 
http://wicket.apache.org/docs/1.4/org/apache/wicket/RequestCycle.html#onRuntimeException(org.apache.wicket.Page,%20java.lang.RuntimeException)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to