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

Re: FormComponentPanel and CompoundPropertyModel

2007-09-14 Thread Igor Vaynberg
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 FormComponentPanel only has a (String id, IModel model) constructor this is easy. But I want