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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Binding A List<String> to a Table
Hello,
I would like to bind this list to a table with one column using a BeanFieldGroup.
I have a class as:
CUser{
private final List<String> Permissions = Arrays.asList("X", "Y", "Z");
}
Is it possible to bind directly with BeanFieldGroup.bind call without using a container.
Such as:
MyBeanFieldGroup.bind(MyTable, "Permissions");
Thanks
I hope you are not confusing between the data in the table and it's value. Table's value, which you can bind, is its selection, not the (container) data displayed in the table. The value is an item ID Object in single-select mode and a Set<Object> in multi-select mode.
If you want to directly bind Table's container data to a bean property, you'd perhaps need to extend it and redefine what its value means.