You are right! It was the key against the name.
Thank you so much.
Nadia
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 30, 2004 11:20 AM
To: Struts Users Mailing List
Subject: Re: html:options won't get preselected!
From: "Nadia Kunko
From: "Nadia Kunkov" <[EMAIL PROTECTED]>
>
>
>
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 Smoa
Hi,
I have a form that my action prepopulates and that works fine. For example:
Country is FormBean property that is populated from the database by my action.
This is all good but I want the user to be able to change the country so I need
a dropdown list.
Here is what I have:
3 matches
Mail list logo