Okay great, that works. I would not have found that myself.

Now I also would like to redirect to the error page when an _Ajax_ 
request fails.
Currently I have some javascript that triggers when the request fails, 
but that way the exception is lost.

Thanks,
     Erik.


Johan Compagner schreef:
> no the internal error doesn't get the exception.
> You can override this and do what every you want with the method : 
> RequestCycle.onRuntimeException()
>
> johan
>
>
> On 11/29/06, * Erik van Oosten* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hello,
>
>     I would like to override the default exception page. We now do
>     that with:
>             getApplicationSettings().setInternalErrorPage(MyErrorPage.class);
>
>     However, I can not seem to find a way to get the thrown exception on
>     that page.
>     Can anyone tell me how to get it? Any help is appreciated.
>
>     Regards,
>          Erik.
>

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to