Hi, See https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/request/cycle/PageRequestHandlerTracker.java Register it, then use it: PageRequestHandlerTracker.getLastHandler(cycle).getPage()
On Mon, Sep 3, 2012 at 8:00 PM, Alfonso Quiroga <alfonsose...@gmail.com> wrote: > Hi! I have a custom exception handler, and I have this method: > > onException(RequestCycle cycle, Exception anException) { > .... > } > > > Inside this method, how can I get the original page who caused the > exception? in other Wicket version, I had "onRuntimeException" > method, who already had the original page. > > Thanks in advance! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org