Hi all, we've recently moved to Wicket 6.17 from 1.4 and I'm having trouble with NOT showing the default wicket error page when a runtime exception is thrown from an AjaxLink.
I've set the following in the application: getApplicationSettings().setInternalErrorPage(ErrorPage.class); getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings. SHOW_INTERNAL_ERROR_PAGE); but it does't seem to have any effect. We override AbstractRequestCycleListener and specifically IRequestHandler onException(RequestCycle cycle, Exception e) to perform different error pages depending on the nature of the exception (for example entitynotfound exception). We check here to see if its an ajax request like this: if(cycle.getRequest() instanceof WebRequest && ((WebRequest) cycle.getRequest()).isAjax()) { return null; // let wicket take care of it. } Is there anyway for ajax requests I can do something like this (which is what we return for non-ajax requests): return new RenderPageRequestHandler(new PageProvider(new ErrorPage(page, e))); many thanks