wood burning stoves 2.0*
The moose likes Struts and the fly likes Using struts validation with select boxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using struts validation with select boxes" Watch "Using struts validation with select boxes" New topic
Author

Using struts validation with select boxes

L Wolpert
Greenhorn

Joined: Jul 31, 2002
Posts: 2
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

Joined: May 05, 2000
Posts: 13974
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 ]

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
GeeCON Prague 2014
 
subject: Using struts validation with select boxes