On Mon, Mar 3, 2008 at 5:37 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> construct a public Map in your Action class and insert the key,value
> pairings e.g.
> public Map getDefaultFavouriteCartoonCharacters() {
> Map m = new LinkedHashMap();
> m.put("heMan", "He-Man");
>
EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, March 03, 2008 8:02 PM
Subject: Selecting over Static Maps from Resource Bundle
> Is it possible to place the data for the list attribute of an
> tag in a resource bundle (so that it can be
> internationali
Dave Newton wrote:
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
Is it possible to place the data for the list attribute of an
tag in a resource bundle (so that it can be
internationalized)? I have tried adding the data to my
application.properties file:
gender.map='FEMALE':'Female','MALE':'M
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> Is it possible to place the data for the list attribute of an
> tag in a resource bundle (so that it can be
> internationalized)? I have tried adding the data to my
> application.properties file:
>
> gender.map='FEMALE':'Female','MALE':'Male'
>
> The
Is it possible to place the data for the list attribute of an
tag in a resource bundle (so that it can be
internationalized)? I have tried adding the data to my
application.properties file:
gender.map='FEMALE':'Female','MALE':'Male'
Then referencing it in the JSP as:
But this produces, the f
5 matches
Mail list logo