Seems to me that it was a wrong decision to deprecate this method
not thinking that ActionForm might also require access to the resources.

Cant figure out how else I would get access to it if needed to do 
checking, and may just have to assume <<DANGEROUS>> that it will be
available for use. 

I have spent enough time researching this and calling quits -- unlsess the
GURUS
come forward and show an example... :)


Muki Soomar


-----Original Message-----
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 1:12 PM
To: Struts Users Mailing List
Subject: Re: ActionServlet.getResources() Method alternative ??


Have almost found the answer but am stuck on a newbie problem because
MessageResourcesFactory is an abstract class.

In my ActionForm :

       ApplicationConfig applicationConf = new
ApplicationConfig("",this.getServlet());
        String msgResourcesParameter =
applicationConf.findMessageResourcesConfig("mypackage.ApplicationResources")
.getParameter();

        Now I have to call :
createResources(msgResourcesParameter)

This method of MessageResourcesFactory returns a MessageResources.

Well, soon we will have the answer. Can anyone help ? What a shame LOL.

Barbara



 
____________________________________________________________________________
__
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to