Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2: problem with select tag

 
Sebastien Viale
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic