Hi,

I am doing on form which consists of multiple panels and data object
hierarchy to them.

For example:

class Data1 {
   Data2 data2;
}

class Data2 {
   Data3 data3;
}

class Data3 {
   String str;
}


class MyForm extends Form{
   public MyForm(id, model){
       super(id, model);
       this.add(new MyPanel(id2, new
CompoundPropertyModel(this.getModelObject().getData2());
   }
}

and very simillar in MyPanel with data3 object, but...

I have problem with updating my data model wicket always throw
WickedMessage:

Attempted to set property value on a null object.

Do anyone know how to solve this?

Thanks for help
Jan Ferko

Reply via email to