Yes, I am doing that and "bean:message " works fine. I am having problem only with arg element in validation.xml
Is arg element supported in struts1.1 or do we have to use arg0,arg1.. -----Original Message----- From: Riyaz Mansoor [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 31, 2005 4:12 PM To: Struts Users Mailing List Subject: Re: Using multiple resource bundles seems fine. you should declare your message resource in struts-config with the name "mybundle" and it should contain the key "myField.displayname" r u doing that? Duggirala, Satyavati wrote: > I am working on a field whose value is an int in the range 0-9999 My > code looks in validation.xml looks like this- > > <form name="myForm"> > <field property="myField" depends="integer,intRange" page="1"> > <arg key="myField.displayname" bundle="mybundle" position="0" /> > <arg1 name="intRange" key="${var:min}" resource="false"/> > <arg2 name="intRange" key="${var:max}" resource="false"/> > <var><var-name>min</var-name><var-value>0</var-value></var> > <var><var-name>max</var-name><var-value>9999</var-value></var> > </field> > </form> --------------------------------------------------------------------- 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]