Dave,
On Fri, 17 Sep 2004 09:26:18 -0500, Dave Bender <[EMAIL PROTECTED]> wrote: <snip> > When I call up my action, I'm getting a "Resources not defined for Validator" > exception. My logs say: > > 87406 DEBUG [HttpProcessor[8080][2]] org.apache.struts.action.RequestProcessor - > Validating input form properties > 121976 ERROR [HttpProcessor[8080][2]] org.apache.struts.validator.ValidatorForm > - Resources not defined for Validator > org.apache.commons.validator.ValidatorException: Resources not defined for Validator > at org.apache.commons.validator.Validator.validate(Validator.java:574) > at org.apache.struts.validator.ValidatorForm.validate(ValidatorForm.java:152) > looking at the error you're getting my first guess would be that the page you are executing does not have the field listed in your validation.xml. also, look in your struts-config where you've defined your action. do you have validation="true" set for that action? <snip> > My validation.xml file is configured to validate just one field (hey, I'm just > getting going!): > > <formset> > <form name="userProfileActionForm"> > <field property="title" depends="required"> > <arg0 key="profile.user.title" resource="false" /> > </field> > </form> > </formset> > > What am I missing? is your formset wrapped in <form-validation>? or do you have <formset> as your root tag in the validation.xml? i would guess that this would give you a different error if you had the wrong root... but worth a look HTH, andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]