Hi List: I am using a JComboBox in the following manner:
<tr> <td><bean:message key="attendee.holidexCode"/>:</td> <td> <html:select property="attendeeVO.holidexCode" > <html:options name="holidexCodeVector" /> </html:select> </td> </tr> Where holidexCodeVector is a Vector of Strings ( e.g. "BLUES", "IHG", "SINGTEL" etc ) I only want the index of the chosen item, not the String. For examples if User chose "IHG" I should get integer 1 , not the String "IHG" How is this possible as the underlying data structure is a "int" not String. Thanks. Chetan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]