How does the compound property model work in these instances:
 
If I do (pseudo code):
 
Form form = new Form ( new CompoundPropertyModel(someObject))
 
form.add (new MyTextField("someFieldFromObject");
 
...
 
public class MyTextField {
 
   public MyTextField() {
      super(id);
      getModel()  ???? <----- will this return an object? 
      getModelObject() ???? <------ will this return an object?
   } 
}
 
Basically, when is the model object and model bound to a component that
uses the compound property model.
 
Berlin Brown

Reply via email to