On Monday 05 November 2007 16:39:02 James Perry wrote:
> I have a problem with the DropDownChoice. More specifically, I have a
> Product class which is like:
>
> public class Product implements Serializable {
>
> private static final long serialVersionUID = 1L;
>
> private Manufacturer manufacturer;
> //other states
>
> //getters and setters
>
> }
>
> I have a form which allows to edit a product, which allows to change the
> manufacturer object with a DropDownChoice. However, an Xbox product for
> instance, it should display its Microsoft manufacturer object as selected
> but it selects 'Choose One' instead.
May be choices and value in the DDC are different java objects and you didn't
implement equals(), hashCode() in Manufacturer class?
Dima
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]