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]