Daniele Biagi wrote: > Has anybody done something of similar (Multi step form/subapps in a Magnolia > app)? > > How can I achieve this with Magnolia, any hints?
There are some designs for wizard dialogs on the wiki: https://wiki.magnolia-cms.com/display/UX/The+wizard+dialog https://wiki.magnolia-cms.com/display/UX/Screens+of+the+wizard+dialog This was also initially planned for Magnolia 5.0, but not implemented yet: https://jira.magnolia-cms.com/browse/SCRUM-1218 As far as I know right now there is no ready to go way to configure a wizard-style dialog. We had one use case for a two-step dialog, but we decided to implement it using code. * Create your own form dialog presenter class by extending FormDialogPresenterImpl * You can use the classes in the magnolia-ui-dialog JAR, like FormDialogDefinition, FormBuilder, TabBuilder, SelectFieldBuilder, etc. to generate UI for the second step depending on what was entered in the first * Create your own form dialog definition class by extending ConfiguredFormDialogDefinition and override setPresenter to set your custom dialog presenter * Configure your dialog using your own form dialog presenter class This seemed feasible for a two-step dialog, but I think doing this all in code can get messy very quickly, especially if you have more than two steps. Nils. ---------------------------------------------------------------- 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-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------