Re: Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Chris Pratt
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"); >

Re: Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Martin Gainty
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

Re: Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Jeromy Evans
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

Re: Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Dave Newton
--- 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

Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Chris Pratt
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