struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <hrab...@gmail.com>
Subject Re: MessageResources in ActionForm
Date Mon, 28 Mar 2005 19:45:29 GMT
Use Globals.MESSAGES_KEY .


On Mon, 28 Mar 2005 13:39:17 -0600, Scott Purcell
<spurcell@vertisinc.com> wrote:
> Hello,
> I am trying to obtain a MessageResources object in a ActionForm and I cannot figure out
how.
> 
> Prior to the new 1.2.4 struts I used this:
> 
> MessageResources resources =
>       (MessageResources)req.getAttribute( Action.MESSAGES_KEY );
> 
> But it appears depreciated, or non existant in the action class now.
> 
> Thanks,
> 
> Scott K Purcell | Developer | VERTIS |
> 555 Washington Ave. 4th Floor | St. Louis, MO 63101 |
> 314.588.0720 Ext:1320 | spurcell@vertisinc.com | http://www.vertisinc.com <http://www.vertisinc.com/>
> 
> Vertis is the premier provider of targeted advertising, media, and
> marketing services that drive consumers to marketers more effectively.
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message