Although the validator dtd has had a "bundle" attribute for a while(?), it was ignored by Struts until the latest release (version 1.2.7). If you want to use it then you need to upgrade to that version (and also validator 1.1.4, which is included with the Struts 1.2.7 download):
Release notes for Struts 1.2.7 are here: http://struts.apache.org/userGuide/release-notes.html And upgrade notes here: http://wiki.apache.org/struts/StrutsUpgrade Niall ----- Original Message ----- From: "Sagar Naik" <[EMAIL PROTECTED]> Sent: Saturday, July 09, 2005 9:29 AM > In struts-config.xml > . > <message-resources key="testProp1" > parameter="test.ApplicationResources" null="false"/> > ... > > In validation.xml > <formset> > <form name="testForm"> > <field property="testProp" depends="required"> > <arg bundle="testProp1" key="field.test" /> > </field> > </form> > </formset> > I get the following error > EVERE: Unhandled exception thrown during validation: > No message resources found for bundle: > org.apache.struts.action.MESSAGE > java.lang.NullPointerException: No message resources > found for bundle: org.apache.struts.action.MESSAGE > at > org.apache.struts.validator.Resources.getMessageResources(Resources.java:140 ) > at > org.apache.struts.validator.Resources.getActionMessage(Resources.java:349) > at > org.apache.struts.validator.FieldChecks.validateRequired(FieldChecks.java:94 ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]