Details
-
Bug
-
Resolution: Outdated
-
Major
-
None
-
5.0.4
-
None
Description
While creating a mail app (which is a simple app like about-app), we had to built fields for editing and email testing. We used form builder class to handle this (mainly because of the validation).
@Inject
public MailViewImpl(MailModule mailModule, FormBuilder builder, ComponentProvider componentProvider) {
...
...
FormView formView = this.componentProvider.getComponent(FormView.class);
builder.buildForm(formView, formDefinition, jcrItem, null);
Component formComponent = formView.asVaadinComponent();
...
...
root.addSection(formComponent);
Everything works good, but forms are rendered with dialog html and with dialog styles. And this doesn't look nice in the simple app clean layout.
Buttons are created manually by code.
Checklists
Acceptance criteria