[MGNLUI-2154] Forms built with form builder have dialog styles and html applied. Created: 25/Sep/13  Updated: 22/Jan/16  Resolved: 22/Jan/16

Status: Closed
Project: Magnolia UI
Component/s: forms
Affects Version/s: 5.0.4
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jaroslav Simak Assignee: Christopher Zimmermann
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 1.png     PNG File 2.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 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.



 Comments   
Comment by Christopher Zimmermann [ 25/Sep/13 ]

Is the source code available on magnolia git repo?

Generated at Mon Feb 12 08:53:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.