Re: How to correctly implement a custom error page

2016-09-07 Thread Joachim Rohde
Thanks. Again I learned something new. On 09/07/2016 12:47 PM, Martin Grigorov wrote: > Hi, > > You can also use PageRequestHandlerTracker to get a reference to the > requested page (first handler) and to the response page (last handler). > Everything else looks good to me! > > Martin Grigorov

Re: How to correctly implement a custom error page

2016-09-07 Thread Martin Grigorov
Hi, You can also use PageRequestHandlerTracker to get a reference to the requested page (first handler) and to the response page (last handler). Everything else looks good to me! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Sep 7, 2016 at 11:36 AM,

How to correctly implement a custom error page

2016-09-07 Thread Joachim Rohde
Hi, I need to enrich the ExceptionErrorPage with some additional information. Currently I have a working solution but I'm not sure, if this is the correct way. My first try was (in my Application-class): /** * Define our own exception mapper. */ @Override public IProvider