Re: DropDownChoice and selected value...

2010-01-09 Thread Facundo Miquel
Hi, thanks for the tip.. unfortunately , I tried this, (a shorter version at least..) add(new DropDownChoice(userProfile.city, new PropertyModel(this.getModel(), userProfile.city), new LoadableDetachableModel() { @Override

Re: DropDownChoice and selected value...

2010-01-09 Thread Pieter Degraeuwe
check your equals() method of the selected object's classes On Sun, Jan 10, 2010 at 7:03 AM, Facundo Miquel facu...@easytech.com.arwrote: Hi, thanks for the tip.. unfortunately , I tried this, (a shorter version at least..) add(new DropDownChoice(userProfile.city,

Re: DropDownChoice and selected value...

2010-01-09 Thread Martin Makundi
Yeah, or implement IChoiceRenderer? 2010/1/10 Pieter Degraeuwe pieter.degrae...@systemworks.be: check your equals() method of the selected object's classes On Sun, Jan 10, 2010 at 7:03 AM, Facundo Miquel facu...@easytech.com.arwrote: Hi, thanks for the tip.. unfortunately , I tried this,

RE: DropDownChoice and selected value...

2010-01-07 Thread Kogel, Jonck-van-der
Hi, I also had this problem once. It turned out to have to do with my list of choices becoming stale. I solved this by putting the choices in a LoadableDetachableModel. ie: IModelListYourObject yourObjectsModel = new LoadableDetachableModelListYourObject() { @Override protected