Re: Localized key values in s:select

2009-11-12 Thread Brian Thompson
Try this: 2009/11/12 Ignacio de Córdoba > > Hello, > I wonder if it is possible to make s:select tag localize the content of > option elements. I am using: > > list="%{categories}" listKey="id" listValue="name" emptyOption="true"/> > > I'd like attribute listValue="name" property value if

Re: Localized key values in s:select

2009-11-12 Thread Paweł Wielgus
Hi Ignacio, it's possible, just use listValue="getText(name)", it should work just like that, just add to your properties file a key that match name value, so that getText will have something to show. Best greetings, Paweł Wielgus. El día 12 de noviembre de 2009 19:26, Ignacio de Córdoba escrib

Localized key values in s:select

2009-11-12 Thread Ignacio de Córdoba
Hello, I wonder if it is possible to make s:select tag localize the content of option elements. I am using: I'd like attribute listValue="name" property value if the objects iterated not to be shown "as is" but to be used as a key to the language property files... just like the "key" attribu