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.
Suggestion to bind multiple VO types to the same form
Hi,
I have a Form with a custom layout. The idea of the form is to configure the rendering of a table.
I have a TableModel, something like
public class TableModel {
private String title;
private List<ColumnModel> columnModels;
}
where ColumnModel is
public class ColumnModel {
private String name;
private ColumnType type;
private Object defaultValue;
}
Attached a simple mockup of the form. What I want basically is to customize the data type of each column. So I have a root TableModel containing a title and a set of ColumnModel.
I have done a few forms already with a VO behind and we bind the property with the actual name of the "property" in the VO (in this case "title" to bind to the title property of TableModel).
But how can we bind easily a collection of elements (the column model instances)?
Any pointer to doc or sample would be appreciated.
Thanks,
S.