You need Struts 1.2.7 (and validator 1.1.4) to do this. The validator DTD has a "bundle" attribute for the <arg> element (but not <arg0>). Earlier DTD versions also had this element, but it was ignored until Struts 1.2.7 - and requires Commons Validator 1.1.4
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section7_2 In your example, you should be able to do the following <field property="county" depends="required"> <arg0 key="cssite.county" bundle="provider"/> </field> One issue with Struts 1.2.7 is a bug that was recently found in the <html:messages> tag related to this change, which might/could cause problems http://issues.apache.org/bugzilla/show_bug.cgi?id=35833 However, if you're using the <html:errors> tag it should be OK In Struts 1.2.7 a new page has been added to the struts-examples webapp showing multiple resource bundle usage. Niall ----- Original Message ----- From: "Thai Dang Vu" <[EMAIL PROTECTED]> Sent: Thursday, August 11, 2005 7:22 PM I use multiple message-resources files in my application like this <message-resources parameter="view.ApplicationResources"/> <message-resources key="provider" parameter="Provider"/> This is a part of my validation.xml file: <field property="county" depends="required"> <arg0 key="cssite.county"/> </field> The key cssite.county is in the Provider.properties file. It seems to me that Struts cannot find the 'cssite.county' key in my Provider.properties file (because when there is an error, I only see "is required", not "County is required" while "County" is the value for the 'cssite.county' key). So what should I do now? Thanks a lot if you can help me out. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]