On Fri, 9 Jul 2004 14:44:08 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: cliff [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 08, 2004 9:34 PM > > To: [EMAIL PROTECTED] > > Subject: RE: use multiple resource bundles in Validator > > > > > > I have tried 1.2 but it cannot work. > > could anyone tell me how to do ? > > > Well according to http://struts.apache.org/userGuide/struts-bean.html#message > It should be something like: <bean:message key="duhKey" > bundle="duhBundleWidDuhKey"/> > > > > > > Thanks a lot > > > > From: "Jim Barrows" <[EMAIL PROTECTED]> > > Date: Fri Jul 9, 2004 4:37 am > > Subject: RE: use multiple resource bundles in Validator > > > > > > > > > > > > > -----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. > >
I was being a little flippant with my initial one word response of "No." Partially, this was due to my own irritation when I learned that it was not possible to specify bundles for property lookups in my validator configuration files for 1.1. I have heard rumblings about this possibly being added to the commons validator though. You would want to check which version of the commons validator is included with the version of Struts you are using and then check to see whether that version of the commons validator supports the bundle attribute. If it is not easy to glean from the project docs, take a gander at the DTD for the validation configuration files in the version you are using to see whether the bundle attribute is allowed or not. The commons validator project home page is here: http://jakarta.apache.org/commons/validator/ Good luck and please report back to the list in the event that you find out the bundle support has been added in a recent version of commons validator. Thanks, Van Mike "Van" Riper mailto:[EMAIL PROTECTED] Silicon Valley Web Developer JUG https://sv-web-jug.dev.java.net/ (a.k.a. Sillicon Valley Struts User Group) http://www.baychi.org/bof/struts/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]