Hello Dirk,

You can use a select like this:

<html:select property="select" value="defaultValue" size="1">
  <html:option value="/defaultValue"><bean:message key="fromApplicationRessource1" />  
</html:option>
  <html:option value="/secondValue"><bean:message key="fromApplicationRessource2" 
/></html:option>
  <html:option value="/thirdValue"><bean:message key="fromApplicationRessource3" 
/></html:option>
</html:select>

This takes the labels from the ApplicationRessource. I'm not sure if this helps you 
for your second requirement (not hardcoded values). You have to define them in the 
JSP. 

Marcel

-----Original Message-----
From: Dirk Storck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 12:28 PM
To: Struts User (E-Mail)
Subject: How to have internationalized selectboxes???


How can I have internationalized and configurable selectboxes?
I need selectboxes wich have depending on the uses local different labels
but the values must be the same and it should not be hardcoded somewhere.

Any suggestions are welcome!


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to