Thanks all for your response.

It worked after i override the equals Method on my beans

Thanks again

Regards
Josh

On Wed, Apr 28, 2010 at 5:28 PM, Ernesto Reinaldo Barreiro <
[email protected]> wrote:

> I remember having a similar problem because missing the equal on some
> bean. Could that be the case?
>
> Ernesto
>
> On Wed, Apr 28, 2010 at 4:20 PM, Josh Kamau <[email protected]> wrote:
> > Hi team
> >
> > I need your help
> >
> > I am using a DropDownChoice<T> in a form as follows:
> >
> > DropDownChoice<Nationality> lstNationality = new
> > DropDownChoice<Nationality>("nationality",getNationalities());
> >
> >  The form has a CompoundPropertyModel
> >
> > After adding the dropdown to the form, i am able to save the record
> > properly. However, when i display a  form with an existing record,
> >
> > the DropDownChoice is not showing the current 'nationality' and it is
> only
> > showing "Choose One";
> >
> > When i replace is with a textfield, the correct record is displayed. Is
> > where could i be going wrong?
> >
> > Regards.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to