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

strut validation help

 
roy joseph
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what's wrong with this code? it wont validate!?

 
roy joseph
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the validwhen is the one that's where im having issues with. the mask is ok. If i remove validwhen then mask is called and everything works.

What i want is that the studentNo and lastName are dependent on the the string value of searchBy.

help
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using javascript or server validation?
Also, which version of Struts are you using?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic