Is it possible to place the data for the list attribute of an
<s:select> 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:

<s:select name="gender" id="gender" list="#{(getText('gender.map'))}"/>

But this produces, the fairly unusable code:

<select name="gender" id="gender">
  <option value="FEMALE:Female,MALE:Male"></option>
</select>

Is there any way to get it to generate:

<select name="gender" id="gender">
  <option value="FEMALE">Female</option>
  <option value="MALE">Male</option>
</select>

Thanks.
  (*Chris*)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to