I can't figure out the struts way to do this:
<html:select property="staffId">
<logic:iterate id="staffId" name="breakForm" property="staffIds"
scope="request">
<OPTION value="<bean:write name="staffId" property="key"
/>"><bean:write name="staffId" property="value" /></OPTION>
</logic:iterate>
</html:select>
The staffIds bean property is a hashtable. I wanted to use <html:option> or
even <html:options> but the syntax eludes me. I can change the hashtable to
some type of collection, but this way the screen looks right. The
functionality of repopulate is missing, though because I'm not allowing
struts to render the <OPTION>. Any ideas?
Anthony
It is by caffeine alone I set my mind in motion.
It is by the Beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.