THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If calling setInternalErrorPage, make sure to also call:
Code Block |
---|
// show internal error page rather than default developer page getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE); |
You can also add customized error per page. In your WebPage class:
Code Block |
---|
getRequestCycle().onRuntimeException(new MyErrorPage(), theException);
|
How can I have images/files uploaded to and downloaded from my wicket app?
...