protected void processPrev() { WizardPanel panel = parent.getCurrentWizardPanel(); Wizard wizard = parent.getWizard(); MergeMap settings = parent.getSettings(); WizardPanelNavResult proceed = WizardPanelNavResult.PROCEED; if (panel != null) { String currentStep = parent.getCurrentStep(); proceed = panel.allowBack(currentStep, settings, wizard); if (proceed.isDeferredComputation()) { deferredStatus = NAME_PREV; parent.handleDeferredWizardResult(proceed, false); return; } } processPrevProceed(proceed); }
protected void processFinish(ActionEvent event) { WizardPanel panel = parent.getCurrentWizardPanel(); Wizard wizard = parent.getWizard(); MergeMap settings = parent.getSettings(); WizardPanelNavResult proceed = WizardPanelNavResult.PROCEED; if (panel != null) { String currentStep = parent.getCurrentStep(); proceed = panel.allowFinish(currentStep, settings, wizard); if (proceed.isDeferredComputation()) { deferredStatus = NAME_FINISH; parent.handleDeferredWizardResult((DeferredWizardResult) proceed, false); return; } } processFinishProceed(proceed); }
protected void processNext() { WizardPanel panel = parent.getCurrentWizardPanel(); Wizard wizard = parent.getWizard(); MergeMap settings = parent.getSettings(); WizardPanelNavResult proceed = WizardPanelNavResult.PROCEED; if (panel != null) { String currentStep = parent.getCurrentStep(); proceed = panel.allowNext(currentStep, settings, wizard); if (proceed.isDeferredComputation()) { deferredStatus = NAME_NEXT; configureNavigationButtons(wizard, prev, next, finish); parent.handleDeferredWizardResult(proceed, false); return; } } processNextProceed(proceed); }