Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ValidWhen syntax for struts validation

 
Nina Anderson
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to implement struts validation with "ValidWhen". But the validation is not working as what I want it to do.

These are the cases where I want the user's input to be valid:





Here's my validation.xml:



Currently, the page accept any input the user selects for "selectedAdvertVenueCode" or "otherDescription". What I'm I doing wrong?

Please...help!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic