Discussion:
Magnolia Apps form Vaadin components
Steven Frederiks (via Magnolia Forums)
2014-03-05 13:33:09 UTC
Permalink
Hi All,

I'm currently working on the development of a magnolia app based on the sample app[url]http://git.magnolia-cms.com/gitweb/?p=magnolia_ui.pub.git;a=tree;f=sample-app;h=43b1b617434219d345f67fa73e0f403ee815ba08;hb=HEAD[/url]

I have created a view with a list(vaadin) with external data and a navigation view with buttons(vaadin). Now I am trying to create a detailview with a form(just like the add page functionality in the page app)for adding new data to the external source.

At the moment I create a new form with vaadin componentens and add these to a new Window and add this to the UI. Is this the correct way? I think I should use some kind of dialog but I don't know how to do it. Is there any example of building your own dialog with vaadin components?

Gr. Steven
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=080f1fe1-b04e-4731-bbec-7beb0ba95128


----------------------------------------------------------------
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: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Roman Kovařík (via Magnolia Forums)
2014-03-05 13:45:32 UTC
Permalink
Hello Steve,

create dialog definition [url]http://documentation.magnolia-cms.com/display/DOCS/Dialog+definition#[/url].
And then make reference to this definition from action definition (same as in pages app):
[url]http://documentation.magnolia-cms.com/display/DOCS/Referencing+a+dialog+definition#Referencingadialogdefinition-Referencingfromactiondefinitions[/url].

Hope that helps
Roman
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=080f1fe1-b04e-4731-bbec-7beb0ba95128


----------------------------------------------------------------
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: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Steven Frederiks (via Magnolia Forums)
2014-03-06 14:36:03 UTC
Permalink
Hi Roman it works, thanks for your help.

Gr. Steven
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=080f1fe1-b04e-4731-bbec-7beb0ba95128


----------------------------------------------------------------
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: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Loading...