Re: exception handling (get cause page)

2012-09-04 Thread Alfonso Quiroga
It works perfectly thanks On Mon, Sep 3, 2012 at 3:11 PM, Martin Grigorov wrote: > 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.getLastHa

Re: exception handling (get cause page)

2012-09-03 Thread Martin Grigorov
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 wrote: > Hi! I have

exception handling (get cause page)

2012-09-03 Thread Alfonso Quiroga
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