Hi,
hope, it helps :-)
<html:select name="new_user_form" property="city_I">
<logic:iterate id="element" property="city_hashmap"
name="new_user_form">
<bean:define id="city_id">
<bean:write name="element" property="key" />
</bean:define>
<bean:define id="city_name">
<bean:write name="element" property="value" />
</bean:define>
<html:option value="<%=city_id%>">
<bean:write name="city_name" />
</html:option>
</logic:iterate>
</html:select>
Many regards,
Anja
----------------------------------------------
Dipl.-Inform. Anja Fischer
Universität Muenchen
IBE - Institut für medizinische
Informationsverarbeitung,
Biometrie und Epidemiologie
Marchioninistr. 15, D-81377 Muenchen
http://ibe.web.med.uni-muenchen.de
mailto:[EMAIL PROTECTED]
Tel: +49 89 7095-4484
----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: Vikash Manoranjan [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 5. Juli 2007 10:49
An: 'Struts Users Mailing List'
Betreff: sample code needed
Hi,
I need sample code for
<html:options> with <html:select>
please help me....
Thanks and Regards,
Vikash Manoranjan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]