File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
It's not a secret anymore!