Sample XML flow definition for wizards in the web UI framework
Use the following sample XML flow definition as a guide for wizards in the web UI framework.
Each page of a wizard needs to specify namespaces it can allow as output from that page. If a rule is invoked after a page, these namespaces should be a superset of the namespaces defined for that rule.
<wizard id="<application>.sampleWizrd"
flowController="com.sterlingcommerce.ui.web.platform.wizard.SCUIDefaultWizardController"
independentPages="false">
<wizardEntities>
<wizardEntity id="Page0"
impl="/<app_dir>/wizard/wizardpage1.jsp" last="false" start="true"
type="PAGE" category="SampleWizard.category0">
<namespace name="ns1">
<namespace name="ns2">
<namespace name="ns3">
</wizardEntity>
</wizardEntities>
<wizardTransitions>
<wizardTransition id="NewTransitionId6" source="Page0" target="Rule"/>
<wizardTransition id="NewTransitionId9" source="Page1" target="Page3"/>
<wizardTransition id="NewTransitionId10" source="Page2" target="Page3"/>
<wizardTransition id="NewTransitionId7" source="Rule">
<output target="Page1" value="1"/>
<output target="Page2" value="2"/>
</wizardTransition>
</wizardTransitions>
<categories>
<category id="SampleWizard.category0"
description="category0" style="simple"/>
<category id="SampleWizard.category1"
description="category1" style="simple"/>
<category id="SampleWizard.category2"
description="category2" style="simple"/>
</categories>
</wizard>