One more: you need something like this in your ApplicationResources: errors.required={0} is required.
In article <[EMAIL PROTECTED]>, Caroline Jen <[EMAIL PROTECTED]> wrote: > To add to the list: > > 5. the validator-rules.xml and validation.xml must be > in the AppName/WEB-INF directory. > 6. Make sure that there is a proper version of the > commons-validator.jar file. > 7. there is <font color=?red?><html:errors/></font> in > the .jsp to turn on the validation and to show warning > messages in red > 8. validation plug-in in the struts-config.xml; > > -Caroline > --- Erik Weber <[EMAIL PROTECTED]> wrote: > > > Somehow we lost the list on a couple of posts. > > > > OK, so, these are the things I assume you have > > checked so far: > > > > 1) you have an html:select tag with property = > > "reportType", and the > > default option's value is "" > > 2) your ActionForm extends one of the proper types > > (such as > > ValidatorForm) and has the proper getters and > > setters for the reportType > > field > > 3) in struts-config.xml, you have configured the > > action (the same one > > that your form will submit to) with validate = true, > > and you have named > > the proper ActionForm to associate with the action > > (one of your > > form-bean declarations) > > 4) the field name in validation.xml matches the > > field name of your > > select ("reportType"), and the form name in > > validation.xml matches the > > same form name that you are associating with the > > action in > > struts-config.xml (the name of the form configured > > in the action matches > > one of your form-bean declarations) > > > > What else am I leaving out? > > > > Erik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]