Upasana Sharma wrote:
>
> listValue="%{getText('myCategory.'+toString())}"
>
> this way i can change the select display value from .properties file
>
> in .properties i have to use
>
> myCategory.ELECTRIC= Electric
>
Neat. I'm trying to do the same thing with the <s:radio> tag.
<s:radio list="allowedValues" listValues="%{getText()}/>
the list allowedValues is a list of String values that need translating for
display. listValues is the correct
parameter to specify translation on because debug shows that getText() is
called for each entry
in the list. I just can't work out how to pass the value into the getText()
so it gets translated.
Any pointers would be welcome.
Regards
--
View this message in context:
http://old.nabble.com/s%3Aselect-help-tp28443569p28447107.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org