Change By: Jaroslav Simak (25/Sep/13 10:35 AM)
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).
{noformat}
 @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);
{noformat}

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.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to