Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using struts validation with select boxes

 
L Wolpert
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using struts validation extending my action form using ValidatorForm. When I enter a text field I want required in the validator.xml file everything works fine. However if I change this field type from a text field in the jsp page to a single selct field, the validation fails.
I was under the impression single selects work, but not multiple selects.
Thanks,
lwolpert
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi and welcome to the Ranch. Please note that your name violates the JavaRanch naming standard that you agreed to when you registered. Please correct it by going to your "edit my profile" page and changing your display name. Thanks.
[ May 12, 2003: Message edited by: Thomas Paul ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic