• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts

 
Davi Kurian
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between required and requiredif in Struts Validator frameworks.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Requiredif allows you to qualify when the test takes place, e.g. last name is required if first name is not empty ....
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic