Must I use plain-vanilla auto-generated Form for data-binding?

To get the Master-Detail data -binding, is “Form” and its automatically generated fields and layout my only choice?

Is there a way to hook up my own custom form layout, such as a GridLayout?

–Basil Bourque

If you want to have custom generated fields, you need to define a FormFieldFactory and use it with setFormFieldFactory(). See Book
here
.

You can use any layout with Form, just call form.setLayout(new GridLayout(2,1)), for example. See the
example here
.

There’s also a master-detail example
here
(for BeanItemContainer - the handling is somewhat different with some other containers).