Re: FormComponentPanel and CompoundPropertyModel

2007-09-14 Thread Igor Vaynberg
initialize them lazily then add(new DropDownChoice("id", new PropertyModel(this, "model")); <== will evaluate at runtime so if cmp is used it will work. -igor On 9/14/07, Joe Toth <[EMAIL PROTECTED]> wrote: > > I have a FormComponentPanel, I want it to get and set a property from > the Form it

FormComponentPanel and CompoundPropertyModel

2007-09-14 Thread Joe Toth
I have a FormComponentPanel, I want it to get and set a property from the Form it belongs to who's model is a CompoundPropertyModel. When the FormComponentPanel is loaded, how can I get the backing model's object whether someone passes in a Model or it should get it from the parent? If my FormCo