Validation of data in form fields worked fine when I had only default resource bundle. But, when I started using multiple resource bundles, the validation failed. I tried to specify the value for bundle attribute for the 'arg' elements(s), and 'msg' elements but didn't work.
Following is my environment: Struts 1.2.4 Tomcat 4.1.30 Commons Validator 1.1.3 Using "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd" in validation.xml As per the above DTD, we can specify the value for bundle attribute. When searching on the internet for this problems, on some sites, I found that Validation package doesn't support multiple resource bundles, but only supports default resource bundles. Is that true? Or this was true only with old versions of struts/validators. Here is an example of my field element in validation.xml file: <form name="createUserForm"> <field property="userId" depends="required,minlength,mask"> <arg position="0" bundle="security" key="label.userId"/> <arg position="1" name="minlength" key="${var:minlength}" resource="false" /> <var> <var-name>minlength</var-name> <var-value>5</var-value> </var> <msg name="mask" key="userId.maskmsg" bundle="security" /> <var> <var-name>mask</var-name> <var-value>^[0-9a-zA-Z]*$</var-value> </var> </field> </form> Any help is greatly appreciated. TIA Venkat ************************************************************************ If you have received this e-mail in error, please delete it and notify the sender as soon as possible. The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited. Internet communications are not secure and Hyperion does not, therefore, accept legal responsibility for the contents of this message nor for any damage caused by viruses. The views expressed here do not necessarily represent those of Hyperion. For more information about Hyperion, please visit our Web site at www.hyperion.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

