struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riyaz Mansoor <rman...@gmail.com>
Subject Re: Using multiple resource bundles
Date Tue, 31 May 2005 23:11:41 GMT

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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message