flow-config.xml file for the UI framework
The flow-config.xml file is the core configuration file for the framework. The flow-config.xml file needs to be present in the class path of your Web application.
You can control the navigation by using the flow-config.xml file
available under the directory PRODUCT_INSTALLED_DIR/etc/default.
The contents of the XML file is governed through the flow-config.xsd
file located in the same location as the flow-config.xml file. Here
is the sample code from the flow-config.xml file:
<flow-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="flow-config.xsd">
<global-error page="/utils/error.jsp"/>
<global-login page="/utils/enterLogin.jsp"/>
<flow-mapping>
<flows>
<flow path="homepage" command="com.ibm.ccd.ui.homepage.HomePageCommand"
method="getHomePage">
<flow-dispatch name="classic" location="/ccd_workflow/collaboration_console.jsp"
dispatchType="forward" />
<flow-dispatch name="newhomepage" location="/utils/homepage.jsp"
dispatchType="forward"/>
<flow-dispatch name="customhomepage" location="/utils/custom_page.jsp"
dispatchType="forward"/>
</flow>
<flow path="classicornew" command="com.ibm.ccd.ui.util.SingleEditSwitchCommand"
method="">
<flow-dispatch name="classicitemedit" location="/ccd_content/item_data_entry.jsp"
dispatchType="forward" />
<flow-dispatch name="newitemedit" location="/ccd_content/new_single_edit_ui.jsp"
dispatchType="forward"/>
</flow>
</flows>
<async-flows>
<async-flow path="WorkflowQueryStore"
command="com.ibm.ccd.ui.worklist.WorklistPageCommand"
method="getCollaborationAreaEntries"/>
</async-flows>
</flow-mapping>
</flow-config>