Hi Darren,

It does seem a pain. I think I will use the deprecated servlet method for
now.

Jim.
----- Original Message -----
From: "Darren Hill" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 10:07 PM
Subject: RE: Getting MessageResources from a ActionForm


> Hey Jim,
>
> I remember asking the same question.
>
> The basic answer is to populate those selections in the action.  Pain in
the
> butt eh?
>
> Darren.
>
> -----Original Message-----
> From: Jim Collins [mailto:[EMAIL PROTECTED]]
> Sent: December 10, 2002 4:50 PM
> To: Struts Users Mailing List
> Subject: Getting MessageResources from a ActionForm
>
>
> Hi,
>
> I would like to get a MessageResoure from an ActionForm. I thought of
> calling servlet.getResources() but according to the documentation this
> method is deprected. I want to use the ActionForm to populate a select
with
> values from my ApplicationResources. I have seen the select example and
know
> that I can do it from the JSP but I would like to set the values from an
> ActionForm. I am currently setting the values from the ActionForm but the
> values are hard coded in the ActionForm and I would like to be able to get
> them from the ApplicationResources.
>
> If anyone knows how I can do this without calling a deprecated method it
> would be appreciated.
>
> Thanks
>
> Jim.
>
>
> --
> 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]>
>


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

Reply via email to