So it's just because we have to override equals when using custom objects.
Thank you for your answer ;) msc65jap wrote: > > I had a similar problem but I had accidentally used == for string > equality within my equals(). I will add this to the Wiki as it's a > common problem for beginners. A lot of MSc Internet Software Systems > students at the University of Birmingham (they teach Wicket as part of > the syllabus) had this problem with DDC. > > James. > > On Nov 9, 2007 3:40 PM, Pills <[EMAIL PROTECTED]> wrote: >> >> I think I've found the problem: I didn't override equals and hashcode in >> my >> class "Shop". >> >> Can anybody confirm that was the cause of that problem? >> -- >> View this message in context: >> http://www.nabble.com/Strange-behavior-with-DropDownChoice-and-PropertyModel-tf4778359.html#a13669424 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Strange-behavior-with-DropDownChoice-and-PropertyModel-tf4778359.html#a13669936 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
