Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-2154

Forms built with form builder have dialog styles and html applied.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Outdated
    • Major
    • None
    • 5.0.4
    • forms
    • 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

        Attachments

          1. 1.png
            1.png
            134 kB
          2. 2.png
            2.png
            193 kB

          Activity

            People

              czimmermann Christopher Zimmermann
              jsimak Jaroslav Simak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD