[forge-issues] [JBoss JIRA] (FORGE-1625) Prevent UIWizards from being merged into dialogs

Vineet Reynolds (JIRA) issues at jboss.org
Tue Mar 4 03:19:33 EST 2014


     [ https://issues.jboss.org/browse/FORGE-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vineet Reynolds updated FORGE-1625:
-----------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/forge/core/pull/394


An IllegalArgumentException is thrown when it is detected that a UIWizard instance is present in the list of arguments when creating a NavigationResultEntry.
                
> Prevent UIWizards from being merged into dialogs
> ------------------------------------------------
>
>                 Key: FORGE-1625
>                 URL: https://issues.jboss.org/browse/FORGE-1625
>             Project: Forge
>          Issue Type: Feature Request
>          Components: UI - API
>    Affects Versions: 2.1.1.Final
>            Reporter: Vineet Reynolds
>            Priority: Minor
>
> When I add multiple UICommand and UIWizard instances to create a single dialog page, like so:
> {noformat}
>       NavigationResultBuilder builder = NavigationResultBuilder.create();
>       builder.add(getMetadata(uiContext), setupFlow);
>       return builder.build();
> {noformat}
> the wizard pages are also added to the dialog page. This results in erroneous behavior since only the first page of the wizard is added and displayed. The second and subsequent pages of a wizard are omitted (even from execution).
> Since it is obvious that the next page in a wizard cannot be determined statically, and should determined at runtime, we must prevent wizards from being merged into a single page.

--
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


More information about the forge-issues mailing list