Here is my select population code: <td class="formItem"> <logic:present name="countries"> <html:select property="companyCountry" size="1" value="US"> <html:options collection="countries" property="code" labelProperty="country" /> </html:select> </logic:present> <logic:notPresent name="countries"> <html:select property="companyCountry" size="1"> <option value="US">UNITED STATES</option> </html:select> </logic:notPresent>
</td> -- Derek ----- Original Message ----- From: "Alok Garg" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, October 27, 2002 8:31 PM Subject: Using <html:Options > tag Hello, I am facing a problem using <html:options> tag. The case: 1) I have a Hashtable map which contain an Id (java.lang.Integer) as the Key and Description (String) as the value. 2) I have to iterate this Hashtable and display the values in a select box. Please guide me with the above problem Thanks Alok -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>