Time for action – adding a View activity to the task flow
Now let us see how to add a view activity to the task flow:
Drag-and-drop the View activity from the component palette to
createDepartmentFlow
.Double–click on the view to open a Create ADF Page Fragment dialog.
Provide the File Name as
createDepartment.jsff
and locate the Directory to save the file.Select the Page Template option as WebPageTemplate. This is similar to the creation of an
index.jspx
page in the previous chapter.
What just happened?
The view activity is added to the task flow which will represent the view port that is included within the task flow. The view activity can be a page fragment or a facelet.
Note
The Use Page Fragments option in the Overview tab for the task flow is used to allow whether the task flow can support a page fragment or not.
Control flow
To navigate between activities inside the task flow, we use the control flow. The control flow will connect the activity using the arrows in the diagram view. The...