Here is what's in the validation.xml file: <formset>
<form name="messageForm"> <field property="messageName" depends="required" page="1"> <arg0 key="newmessage.label.messageName" resource="true"/> </field> <field property="zoneId" depends="required" page="1"> <arg0 key="newmessage.label.zone" resource="true"/> </field> <field property="audienceId" depends="required" page="1"> <arg0 key="newmessage.label.audience" resource="true"/> </field> ... and in the application resources file: newmessage.label.messageName=Message Name newmessage.label.zone=Distribution Zone newmessage.label.audience=Target Audience ... > -----Original Message----- > From: Koni Roth [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2003 3:56 PM > To: Struts Users Mailing List > Subject: Re: Validator cannot find message key > > > > > > Paste the faulty part of your validation.xml file maybe we can see some > strange things. I had a similar problem and it was only an error in > writing... > > Yuan, Saul (TOR-ML) wrote: > > Hi, > > > > > > > > I am using Struts Validator for validating a multi page form, some how > > the Validator cannot find the messages defined in the application > > resources. I got the validation error messages like: null is required. > > I've defined arg0 in the validation.xml file, and the key of arg0 points > > to a key in the application resource file. I verified that the message > > can be found through <bean:message>, but why not by the validator? Any > > ideas what the problem could be? > > > > > > > > > > > > Thanks, > > > > Saul > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]