org.apache.struts.validator.Resources.getMessageResources(request)

> -----Ursprüngliche Nachricht-----
> Von: Sturzebecher Dirk (extern)
> [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 21. Juli 2003 18:26
> An: 'Struts Users Mailing List'
> Betreff: RE: How to get MessageResources in ValidatorForm
> 
> 
> The only thing in there would be
> 
> MessageResource 
> r=MessageResourcesFactory.createFactory().createResources(Stri
> ng config);
> 
> but what is config (besides a String)? and what local will be used?
> 
> 
> > -----Original Message-----
> > From: Alex Shneyderman [mailto:[EMAIL PROTECTED] 
> > Sent: Montag, 21. Juli 2003 18:08
> > To: 'Struts Users Mailing List'
> > Subject: RE: How to get MessageResources in ValidatorForm
> > 
> > 
> > Check out org.apache.struts.util package.
> > There are bunch of ways there.
> > 
> > > -----Original Message-----
> > > From: Sturzebecher Dirk (extern)
> > > [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, July 21, 2003 12:06 PM
> > > To: ' ([EMAIL PROTECTED])'
> > > Subject: How to get MessageResources in ValidatorForm
> > > 
> > > Hi,
> > > 
> > > I need to get the MessageResources (i.e., application.properties)
> > while I
> > > am in the validation of my ValidatorForm (i.e., 
> validate(...)). The
> > only
> > > way I have seen is to
> > > get it from the ActionServlet (servlet.getResources()), 
> but that is
> > > deprecated...
> > > 
> > > What is the new way? The doc says to get it from the 
> > Action, but I am
> > not
> > > in the Action!
> > > 
> > > dirk
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > 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