Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSR 303 - Stop in the first error  RSS feed

 
Douglas Mendonca
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have this field in my class command class:

Then I use the @Valid in my @ActionMapping, example:


Everything works fine, but I have one problem: when the "login" is null, the validator return the NotNull and the Size validation, how can I do to the validation stop in the first error? In this case the NotNull.

Ps: Sorry my bad english.

Thanks!
 
Douglas Mendonca
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any idea guys?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!