The two code snippets you pasted seem identical but essentially I think you need this to work:
This should work with the latest 2.4.0-SNAPSHOTs. The final release is planned for September.
ups, the forum software somehow hides Java Code when using quotatations. Just edited my post above.
I'll have a look at the latest snapshots. Is it also possible to add a ChangeHandler to a whole chained object, e.g.
so that whenever the streetname, ZIP etc. changes a ValueChangeEvent is fired?
Thank you so much for your help!!!
The property change handler for "customer.address" will fire when the corresponding address reference (the address field of the customer field in your model) changes. It will not fire for e.g. the streetname. You will need to use a handler on "customer.address.streetname" for that.
We could add support for wildcards to differentiate between the two different use cases. So, basically add support for "customer.address.*". Can you create a JIRA for that with your use case if you want this feature?