-
Bug
-
Resolution: Done
-
Major
-
2.0.0.Alpha14
-
None
In the ScaffoldSetupWizard, I do:
List<Class<? extends UICommand>> setupFlow = selectedProvider.getSetupFlow(); if(setupFlow.isEmpty()) { return null; } else { Class<? extends UICommand> next = setupFlow.remove(0); Class<?>[] additional = setupFlow.toArray(new Class<?>[setupFlow.size()]); return Results.navigateTo(next, (Class<? extends UICommand>[]) additional); }
When additional dialogs/wizard pages need to be displayed, they're provided by the scaffold provider in the form of additional UICommands or UIWizards via the getSetupFlow() invocation.
If a UICommand is returned, then the wizard does not display the other UICommands or UIWizards following it. For example, if the sequence of flows contains JPASetupWizard, FacesSetupWizard, CDISetupWizard, EJBSetupWizard and ServletSetupWizard, then only the JPA and Faces setup wizards are displayed; CDI, EJB and Servlet wizards are not displayed.
The underlying reason is that the FacesSetupWizard is a UICommand and not a UIWizard and hence all subsequent commands and wizards are omitted from display in the wizard.