• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ActionErrors inside ValidatorForm

 
Karthik Rajendiran
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
We have a input jsp with 2 date fields.Date validation was done using validator framework
We are overriding the validate method in the form bean extending the validatorform.

1.Inside the validate method, we are trying to do overlap check between dates and report error
2. we want this check to happen only when the initial required and mask test finished
How to do that?How to retrieve value in actionerrors for the sucess of prior validation
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Inside your validate method, code the following:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic