I firgured out thx, was looking at the wrong tag description :)
- Aaron
-----Original Message-----
From: Aaron Ravenberg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 9:58 AM
To: [EMAIL PROTECTED]
Subject: <logic:iterate> and <html:option>
Hi all,
I want to use the iterate tag to develop the <html:option> set for a
<html:select>, is there a way to specify the <html:option value="???" > with
the <bean:write name="list" property="value" /> tag that can be used in the
iteration of my webVendorTreeMap?
<html:select property="webVendorKey" name="webVendorKey" >
// iterate TreeMap to develop the options for the select
<logic:iterate id="list" property="webVendorTreeMap" name="FormBean">
<html:option value="???">
// use the key value from the TreeMap to set text display
<bean:write name="list" property="key" />
</html:option>
</logic:iterate>
</html:select>
Thank you,
Aaron