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
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"); m.put("popeye", "Popeye"); m.put("mockeyMouse", "Mickey Mouse");

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