I have tried 1.2 but it cannot work. It only return null. Could you
tell me how to use it ?
Thx
Here is my config
in config.xml
--------------
<message-resources parameter="resources.ApplicationResources"/>
<message-resources key="clientResources"
parameter="resources.ClientApplicationResources" />
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-
rules.xml, /WEB-INF/validation.xml"/>
</plug-in>
in validation.xml
------------------
<form name ="XXX">
<field property="clientCountry" depends="required">
<arg bundle="clientResources" key="prompt.country"/>
</field>
</form>
in ClientApplicationResources.properties
----------------------------------------
prompt.country=ClientCountry
in jsp
-------
<html:javascript formName="XXX" dynamicJavascript="true"
staticJavascript="false"/>
--- In [EMAIL PROTECTED], "Jim Barrows" <[EMAIL PROTECTED]> wrote:
>
>
> > -----Original Message-----
> > From: Van [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 08, 2004 1:12 PM
> > To: Struts Users Mailing List
> > Subject: Re: use multiple resource bundles in Validator
> >
> >
> > On Thu, 8 Jul 2004 18:18:41 +0800, Hanna <[EMAIL PROTECTED]> wrote:
> > > How can i use mulitple message bundles in validator in struts
1.1?
> > > like the way of <bean:message key="..." bundle="..."/> ?
> >
> > No.
>
> Not in 1.1... 1.2 you can.
>
> -------------------------------------------------------------------
--
> 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]