Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
Bean update: how can I bind nested properties ?
I have BeanItemContainer for User entity, which looks like this:
public class User {
private Integer id;
private Integer name;
private Integer Role role;
}
it has also getters/setters. When I create Grid based on that I want to have 2 columns:
- name
[*]role.name
Name is binded automaticaly. 'role.name' bind I can achive by using addNestedContainerProperty() method.
When I try to update it - String 'name' is automaticaly changed on my list of users' beans. But 'role.name' no.
How can I bind that nested property to my beans list?
Last updated on
You cannot reply to this thread.