ok, trying that on my machine (struts 1.1)
..at least bean:message bundle="alternate" does find it
..no bundle attribute in field tag in this version
..there's a bundle attribute in the msg tag
..and it's plainly ignored
looks like a bug to me. 
ok, spent enough time on this...

hm in the commons they claim to be past version 1.1 ... though can't see any
related resource there
Frank, could you please check if the bug is in the bugtracker and if not,
file it??
And ask the validator people for putting the release on the server (and
please tell me if they did ;).

tsch�ss derweil,
Axel



On 2004-03-16 at 08:29:11 +0100, Otto, Frank wrote:
> Sorry, I use struts 1.1, but commons-validaton is version 1.0.2
> 
> -----Urspr�ngliche Nachricht-----
> Von: Axel Gross [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 16. M�rz 2004 08:22
> An: Struts Users Mailing List
> Betreff: Re: validation
> 
> 
> hi!
> I don't if you problem is related to your version,
> do you really need struts 1.0?
> struts 1.1 you'll find under:
>  http://jakarta.apache.org/site/binindex.cgi
> 
> 
> 
> On 2004-03-16 at 07:50:22 +0100, Otto, Frank wrote:
> > Thanks for your answer, but it doesn't function.
> > 
> > I use struts-validation 1.0.2. Perhaps is this the problem? I don't find a newer 
> > version on jakarte site. With nightly build it didn't validate my form.
> > 
> > The same proplem I have with struts-config.xml. If I use bundle="alternate" in my 
> > action definitions, it will not be used.
> > 
> > -----Urspr�ngliche Nachricht-----
> > Von: Shobhana.S, ASDC Chennai [mailto:[EMAIL PROTECTED]
> > Gesendet: Montag, 15. M�rz 2004 13:43
> > An: Struts Users Mailing List
> > Betreff: RE: validation
> > 
> > 
> > 
> > you can hve more than one resource bundle ..In struts-config file:
~> > 
> >     <message-resources
> >     parameter="org.apache.struts.webapp.example.ApplicationResources"/>
> > 
> >   <message-resources
> >  
> > parameter="org.apache.struts.webapp.example.AlternateApplicationResources"
> >     key="alternate">
> >   </message-resources>
> > 
> > 
> > Then in validation.xml u can give like this for a specific form-field  a
> > seperate resource bundle:
> > 
> > <field property="password"
> >                     depends="required, minlength,maxlength"
> >                     bundle="alternate">
> > 
> > and for otheres it will take the default bundle: applicationresources..
> > 
> > Shobhana
> > 
> > 
> > 
> > -----Original Message-----
> > From: Otto, Frank [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 15, 2004 6:08 PM
> > To: Struts-User (E-Mail)
> > Subject: validation
> > 
> > 
> > Hi,
> >  
> > is there any possibility to use another resource bundle in validaton.xml? Or
> > can I set somewhere which resources validation should use?
> >  
> >  
> > Regards,
> > Frank
> > 
> > ---------------------------------------------------------------------
> > 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]
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to