• Post Reply Bookmark Topic Watch Topic
  • New Topic

ValidatorException is thrown but the form is submitting anyway  RSS feed

 
Nancy Howse
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tough to say anything without looking at the code and how the error looks like.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!