struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toni Lyytikäinen" <>
Subject Localizing the list in a <s:select>-tag?
Date Wed, 08 Aug 2007 11:11:21 GMT

Is it possible to localize the options in the list attribute of the
<s:select>-tag? I've tried several approaches but none of them seem to work.
What I'm aiming at is something like the following:

<s:select name="somename"
        '01' : 'this should be some localized text from a bundle',
        '02' : 'this text should be localized too',

For some reason it seems to be impossible to use double quotes (") for the
elements in the map, unless escaped, and the escaping means that the
expression inside won't be evaluated.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message