It's loading validation rules and validation is working correctly for other fileds on the same form, so validation is turned on and it gets called upon form submission.
The only thing here is the form fields data type String[] and for all other fields it's String, required validation is only works with for String data type?
Thanks Anand
From: Wendy Smoak <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: multi box and required validation Date: Wed, 29 Sep 2004 10:01:27 -0700
From: "Anand M S" <[EMAIL PROTECTED]> > if i don't > select any one of the checkboxes and submit, it did not rise error message, > it suppose to give error message as it is required field.
Where do you expect the error message to appear? What do you have in the JSP?
Are you sure validation is turned on in your action mapping? (I _think_ it defaults to on, but check.)
What do the logs say-- you should see the validation get "set up" when you deploy the webapp, and then later a message when the form passes validation (or not).
Have you overridden validate(...) and forgotten to call super.validate(...)?
As you can tell, I have no idea what the problem is. These are things I would ask myself while trying to figure it out, maybe you'll stumble across the answer, or perhaps someone else reading here will see it. The more relevant information you give, the more likely you are to get help.
-- Wendy Smoak
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]