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.
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.