[Wicket-user] AbstractBehavior or AjaxFormSubmitBehavior exception handling

2007-03-14 Thread Apaar Trivedi
Hey guys, 

 

When I have an exception (in this case a NullPointerException) occur
during the onSubmit of an AjaxFormSubmitBehavior, neither onException or
onError is being called.  Why is that?  I thought these methods existed
specifically to catch these types of problems?

 

Thanks

Par

 

-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AbstractBehavior or AjaxFormSubmitBehavior exception handling

2007-03-14 Thread Igor Vaynberg

onexception where? onerror is called when a form validation error occurs.

-igor


On 3/14/07, Apaar Trivedi [EMAIL PROTECTED] wrote:


 Hey guys,



When I have an exception (in this case a NullPointerException) occur
during the onSubmit of an AjaxFormSubmitBehavior, neither onException or
onError is being called.  Why is that?  I thought these methods existed
specifically to catch these types of problems?



Thanks

Par



-
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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AbstractBehavior or AjaxFormSubmitBehavior exception handling

2007-03-14 Thread Nathan Hamblen
Is it this?

https://issues.apache.org/jira/browse/WICKET-376

Apaar Trivedi wrote:
 Hey guys,
 
  
 
 When I have an exception (in this case a NullPointerException) occur 
 during the onSubmit of an AjaxFormSubmitBehavior, neither onException or 
 onError is being called.  Why is that?  I thought these methods existed 
 specifically to catch these types of problems?
 
  
 
 Thanks
 
 Par
 


-
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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user