File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
whic tag is right
Something wrong with my <s:select>
Using QTJava to save a frame from a 3gp video
MVC : How to pass object from model back to View
Video Player