[
https://issues.jboss.org/browse/FORGE-1625?page=com.atlassian.jira.plugin...
]
George Gastaldi edited comment on FORGE-1625 at 3/3/14 1:33 PM:
----------------------------------------------------------------
Shoud an exception be thrown when an UIWizard is added?
was (Author: gastaldi):
Shoud an exception be thrown when a UIWizard is added?
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
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