I have problem with nested properties in BaseModel.
In my example, i have a mainModel with a property (Type String) and an other property (Type BaseModel). The mainModel is binding to a FormPanel.
I update the values of the nested BaseModel. The values are updated correctly in the nested Model, the Field in the FormPanel ist not updated.

Here is the Code:

BaseModel personBean = new BaseModel() {};
personBean.set("name", "Meier");

final BaseModel mainBean = new BaseModel() {};
mainBean.set("feld1", "Auto");
mainBean.set("person", personBean);

FormPanel fp = new FormPanel();
fp.setLayout(new FormLayout());
TextField<String> tf1 = new TextField<String>();
tf1.setName("feld1");
tf1.setFieldLabel("Feld1");
fp.add(tf1);

TextField<String> tf2 = new TextField<String>();
tf2.setName("person.name");
tf2.setFieldLabel("Name");
fp.add(tf2);

Button btn = new Button("Change Values");
btn.addSelectionListener(new SelectionListener<ButtonEvent>() {

@Override
public void componentSelected(ButtonEvent ce) {

mainBean.set("feld1", "Keller");
((BaseModel)mainBean.get("person")).set("name", "Bus");

}

});
fp.addButton(btn);

FormBinding binding = new FormBinding(fp);
binding.addFieldBinding(new FieldBinding(tf1, "feld1"));
binding.addFieldBinding(new FieldBinding(tf2, "person.name"));
binding.bind(mainBean);

RootPanel.get().add(fp);



The variable listeners in the method 'notify(ChangeEvent event)' of the class ChangeEventSupport is null. This could be the problem. That's a bug?

Here this method:

public void notify(ChangeEvent event) {
if (!silent && listeners != null) {
for (ChangeListener listener : listeners) {
listener.modelChanged(event);
}
}
}