This has already been raised as an issue in the following bugzilla ticket: http://issues.apache.org/bugzilla/show_bug.cgi?id=21760
Currently the bundle attribute on both the Arg and Msg elements in the validator dtd are ignored, as well as the "resource" property on the Msg element. The reason for this, is that although they are in the validator dtd - there was actually no way to access these properties. I have just changed Commons Validator and there is currently a new Version 1.1.4 (Alpha) available for download and testing, details are here: http://article.gmane.org/gmane.comp.jakarta.struts.user/96384 This doesn't re-solve this issue, but we need a proper "GA" quality release of Commons Validator before we can make the appropriate changes in Struts to fix this issue - any help with people trying out the new version of Commons and feeding back their experience will al help to make a "GA" version arrive sooner :-) Niall ----- Original Message ----- From: "aris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 3:57 PM Subject: Validation resources in another bundle > Hi all, > I'm trying to use an alternative message resource to display errors after > the validate process. I set in the validation.xml the following element: > > <field > property="siteuser.siteusername" > depends="required"> > <arg > key="label_username" > bundle="loginResources" > position="0" /> > </field> > > > It doesn't work and I have the suspect that the bundle attribute is > completely ignored. Can anyone help me? > > Thanks > > aris. > > > --------------------------------------------------------------------- > 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]