Re: Found IExceptionMapper // Re: Redirecting on Exception - some ExceptionMapper? Also for exceptions outside app's code

2012-09-28 Thread Ondrej Zizka
On Thu, 2012-09-27 at 09:58 +0300, Martin Grigorov wrote: But still: I only get the exception. Ok, it has a stacktrace. But for convenience, is it possible that I could get the component it came from? No But what would you do if you know that SomePanel did it ? I would redirect to

Re: Found IExceptionMapper // Re: Redirecting on Exception - some ExceptionMapper? Also for exceptions outside app's code

2012-09-27 Thread Martin Grigorov
Hi, See https://cwiki.apache.org/confluence/display/WICKET/RequestCycle+in+Wicket+1.5 On Thu, Sep 27, 2012 at 4:13 AM, Ondrej Zizka ozi...@redhat.com wrote: Aah, just found in the referenced wiki:

Found IExceptionMapper // Re: Redirecting on Exception - some ExceptionMapper? Also for exceptions outside app's code

2012-09-26 Thread Ondrej Zizka
Aah, just found in the referenced wiki: https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-Exceptionhandling or override org.apache.wicket.Application.getExceptionMapperProvider() - the IExceptionMapper is used if none of the configured IRequestCycleListeners