Re: struts validation and multiple message resources files

2002-06-14 Thread William W


Is there a solution for this problem ?
Thanks,
William.

>From: "Alok Ghosh" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: struts validation and multiple message resources files
>Date: Tue, 11 Jun 2002 13:24:04 -0400
>
>Hi,
>I am running the new struts validation that uses the validation.xml
>file.
>In my validation.xml file i have all the forms in there and the
>validation for every type of textbox of the different forms.
>
>My problem is the caption name of each text box are already in sepearte
>Application.properties files.
>But validation.xml seems to only look at the default
>Application.properties file, (the one without a key="xxx" specified in
>the struts-config.xml file.
>
>Is there any way i can use bundle="xxx" to make validation.xml goto
>different Application.properties files to find the msg caption of the
>text box?
>
>
>Alok,
>(who one day dreams of seeing the text "First Name is Required" in an
>alert box, rather than "{space} is Requried")
>




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




struts validation and multiple message resources files

2002-06-11 Thread Alok Ghosh

Hi,
I am running the new struts validation that uses the validation.xml
file. 
In my validation.xml file i have all the forms in there and the
validation for every type of textbox of the different forms. 

My problem is the caption name of each text box are already in sepearte
Application.properties files. 
But validation.xml seems to only look at the default
Application.properties file, (the one without a key="xxx" specified in
the struts-config.xml file. 

Is there any way i can use bundle="xxx" to make validation.xml goto
different Application.properties files to find the msg caption of the
text box? 


Alok, 
(who one day dreams of seeing the text "First Name is Required" in an
alert box, rather than "{space} is Requried")