Differences
This shows you the differences between two versions of the page.
data_binding_of_nested_properties [2016/01/22 11:53] |
data_binding_of_nested_properties [2021/04/05 11:23] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Data Binding of Nested Properties ====== | ||
+ | The data binding in Vaadin (since 7.x) is done with the FieldGroup class. But the FieldGroup does not support nested properties of Java Beans. There is a subclass BeanFieldGroup which does support nested properties. | ||
+ | |||
+ | <sxh java> | ||
+ | BeanFieldGroup< | ||
+ | binder.setItemDataSource(customer); | ||
+ | ... | ||
+ | binder.bind(streetField, | ||
+ | </ | ||
+ | |||
+ | |||
+ | {{tag> |