Hey guys, I have a weird issue.  

 

I am using the globalFailureHandler to catch my ajax errors, and also
have overridden RequestCycle to forward to my own error page.  But when
an error occurs during an ajax request, I get two different responses
depending on what mode my application is in.

 

In deployment mode, my error will cause a forward to the error page.

 

In development mode my error will be handled by the global failure
handler, basically only javascript error handling.  If I am in
development mode and do NOT register the global failure handler, then my
error is not handled and only appears in my tomcat console.

 

How can I control this behavior and choose how my errors are handled,
regardless of what mode my application is in?

 

 

I am using wicket 1.2.4, and even retro fitted this patch:
http://issues.apache.org/jira/browse/WICKET-313

 

-------------------------------------------------------------------------
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