struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Re: html:options won't get preselected!
Date Thu, 30 Dec 2004 16:20:27 GMT
From: "Nadia Kunkov" <>

> <html:select property="country" >
>     <html:options collection="countryList" property="countryID"
>  </html:select>

Struts will pre-select the item when the 'country' property of the form
matches the countryID of the option.

What is the exact value of the 'country' property of the form?  I'm betting
you've got 'Canada' when you need 'CAN'.

Wendy Smoak

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message