Re: Compound Property Model, sharing for children

2011-01-27 Thread Pedro Santos
No because the MyTextField will not be able to init its model based on the parent CompoundPropertyModel since it don't know him yet. Only after exit the form.add call MyTextField.getModel will work as expected. If MyTextField invokes getModel inside the onInitialize it will work fine, since at

RE: Compound Property Model, sharing for children

2011-01-27 Thread Brown, Berlin [GCG-PFS]
: Thursday, January 27, 2011 8:07 AM To: users@wicket.apache.org Subject: Re: Compound Property Model, sharing for children No because the MyTextField will not be able to init its model based on the parent CompoundPropertyModel since it don't know him yet. Only after exit the form.add call

Re: Compound Property Model, sharing for children

2011-01-27 Thread Pedro Santos
: Compound Property Model, sharing for children No because the MyTextField will not be able to init its model based on the parent CompoundPropertyModel since it don't know him yet. Only after exit the form.add call MyTextField.getModel will work as expected. If MyTextField invokes getModel