This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2: problem with select tag" Watch "Struts2: problem with select tag" New topic
Author

Struts2: problem with select tag

Sebastien Viale
Greenhorn

Joined: Jun 02, 2010
Posts: 2
Hello,

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...

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2: problem with select tag