use of org.linkki.samples.dynamicfield.pmo.CarRowPmo in project linkki by linkki-framework.
the class DynamicFieldUI method init.
@Override
protected void init(VaadinRequest request) {
Page.getCurrent().setTitle("Linkki :: Dynamic Fields Sample");
List<Car> carStorage = getCarStorage();
BindingContext bindingContext = new BindingContext();
TableSection<CarRowPmo> table = new DefaultPmoBasedSectionFactory().createTableSection(new CarTablePmo(carStorage, () -> new NewCarDialog(carStorage, bindingContext::updateUI)), bindingContext);
setContent(table);
}
Aggregations