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

Reply via email to