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
: 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
: 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