aspose file tools
The moose likes JSF and the fly likes ValidatorException is thrown but the form is submitting anyway Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "ValidatorException is thrown but the form is submitting anyway" Watch "ValidatorException is thrown but the form is submitting anyway" New topic
Author

ValidatorException is thrown but the form is submitting anyway

Nancy Howse
Greenhorn

Joined: Jul 08, 2005
Posts: 1
I am trying to create a jar of generic custom validators and converters to be reused for several projects. I have set things up and created my jar, and the validators are being called just fine.

The validator I'm using is being called, and the message is being added to the FacesContext. However, in spite of the ValidatorException being thrown, the submit button's action is being called anyway with the invalid data causing an error.

If anyone has any ideas, it would be greatly appreciated. Thanks.

~Nancy
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
Tough to say anything without looking at the code and how the error looks like.


- Varun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ValidatorException is thrown but the form is submitting anyway
 
Similar Threads
Let us clean up Cameron's Mock tests for IBM 829!
JSF Validation - How to identify the component which calls the validate method in the nethod itself
Validators still required to throw exceptions? :(
Validation Error: Value is not valid
display error message