Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-14 Thread Timo Rantalaiho
On Tue, 13 Nov 2007, Pills wrote: > Well, I use this method to edit a record. The form is bound with the field > "formTarget". When called, it loads data in formTarget from the parameter. > > If I don't call modelChanging/modelChanged, some components like > DropDownChoices aren't properly inited

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-13 Thread Pills
elect old cached values. I don't know if it is a bug or if I wrote something wrong... -- View this message in context: http://www.nabble.com/Strange-behavior-with-DropDownChoice-and-PropertyModel-tf4778358.html#a137226

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-12 Thread Timo Rantalaiho
On Fri, 09 Nov 2007, Pills wrote: > public void edit(MyClass l) { > [...] > > shops.modelChanging(); > formTarget.setShops(l.getShops()); > shops.modelChanged(); > > [...] What's the point of this method? And why is it calling modelChanging and modelChanged? I think that n

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-09 Thread James Perry
;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 t

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-09 Thread Pills
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-behavi

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-09 Thread James Perry
ew 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 un

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-09 Thread Pills
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#a13

Strange behavior with DropDownChoice and PropertyModel

2007-11-09 Thread Pills
d... (and I'm sure the property isn't null) Is is a known issue? How can I fix it? Thank you very much ;) -- View this message in context: http://www.nabble.com/Strange-behavior-with-DropDownChoice-and-PropertyModel-tf4778359.html#a13669186 Sent from the Wicket - User mailing list archive at Nabble.com.

Strange behavior with DropDownChoice and PropertyModel

2007-11-09 Thread Pills
(and I'm certain the property isn't null) Is is a known issue? How can I fix it? Thank you very much ;) -- View this message in context: http://www.nabble.com/Strange-behavior-with-DropDownChoice-and-PropertyModel-tf4778358.html#a13669185 Sent from the Wicket - User mailing list archive at Nabble.com.