This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Struts2: problem with select tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2: problem with select tag" Watch "Struts2: problem with select tag" New topic

Struts2: problem with select tag

Sebastien Viale

Joined: Jun 02, 2010
Posts: 2

I have a select tag in a form and I want to use internationalization i18n.

I have properties files, with the key value "param.format"

In my jsp, I have:

<s:select key="param.format" list="#{'Tous':'Tous','Image':'Image','Video':'Video','Texte':'Texte','Web':'Web'}" />

I want to configure the list attribute in the properties file to internationalize its element too.
Is there a way to do it? I tried everything...

I agree. Here's the link:
subject: Struts2: problem with select tag