Hi Leon
Leon Rosenberg wrote:
indexId will do http://struts.apache.org/userGuide/struts-logic.html#iterate
Been there, but somehow didn't get what it was about ... closer now.
<select name="..." >
<logic:iterate id="element" name="showFacilitiesArray" indexId="index">
<option value="<bean:write name="index"/>"><bean:write
name="element"/></option>
</logic:iterate> </select>
Yeehaa! Thanks a lot!
You may also want to look at html:options and html:optionsCollection
Will do that.
This would make above code a two-liner, and work with action forms.
Hm ... Could you describe the latter? I am using a form bean specified in struts-config.xml and that works perfectly for other fields (like <html:text>). Is there something wrong with it?
Cheers
André
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]