Databases Reference
In-Depth Information
Each of the page fragments is added as a train stop and is linearly linked to provide a
wizard-like feature in the web page. Checking the
train
opion for the task low will
enable the task flow to support train stops. One common expression used with the
train is as follows:
#{controllerContext.currentViewPort
.taskFlowContext.trainModel.getNext}"
#{controllerContext.currentViewPort
.taskFlowContext.trainModel.getPrevious}"
Template
: The task flow template is another useful feature that will enable the task
flow to behave like a template, to add and support other task flows. A base task flow
template is created for a repeated process and then it is reused by the consuming
task flow to build a complex task flow.
Menu model navigaion
: ADF supports a feature that will let the task flow be
displayed in a menu. The task low navigaion is represented in a
TreeModel
feature or in an
XMLMenuModel
feature in a
root_menu.xml
file. Later, the XML
file is processed to display a menu structure, using the menu component in the
page, by idenifying the corresponding node that represents the task low for
navigaion. The menu model is added to the
adfc-config.xml
file as a menu,
and each of its task flows will be displayed in a separate tab in the UI page.
The following code is an example of the
root_menu.xml
file:
<menu xmlns="http://myfaces.apache.org/trinidad/menu">
<itemNode id="itemNode_home"
label="label_home"
action="adfMenu_home"
focusViewId="/home"/>
Search WWH ::
Custom Search