Working with Bounded Task Flows, Regions and Routers in JDeveloper 11gPurposeIn this tutorial, you use Oracle JDeveloper 11g to create a task flow that includes views, router and operations components. Then after creating each of the components of the task flow, you bind the task flow as a region of an existing page. The data model uses Business Components. For the web client, Java Server Faces (JSF) is used. A browse page and an edit page are included in the user interface. 50 minutes The tutorial covers the following topics:
Viewing Screenshots
Note: Alternatively, you can place the cursor over an individual icon in the following steps to load and view only the screenshot associated with that step. You can hide an individual screenshot by clicking it. The model is provided by business components, while the view and controller are provided by Java Server Faces. The predefined application includes two pages, a browse page and an Edit page. The Browse page provides the list of departments and allows you to select a department from the list to edit the department details. The Edit page displays the department details. To that predefined application you enhance its functionalities by adding a task flow as a region to the BrowseDepartments page. The task flow includes a BrowseEmployees page and allows to create a new employee or edit an existing employee. ScenarioYou create a bounded task flow with various components in it. Using a router, views, and operations, you design the task flow to be able to support browsing, edit and create functionalities. Once the task flow created, you create the individual components of the task flow and finally, you bind the task flow as a region in the BrowseDepartments page. In case you've already performed the URL_Bookmark hands on, you can continue on using that application and then skip the Prerequisites section and go directly to theCreating a Bounded Task Flow section.
Downloading the Required Components and Start JDeveloper 11g In the following steps, you download JDeveloper 11g and other files required for this tutorial.
Uploading the Starter Application Before you create any component, you must first open the startup application. To do this, perform the following steps:
Creating a Database Connection You need to create a Database Connection to the HR schema. To do this, perform the following steps:
Testing the Startup Application The startup application uses Departments and Employees entity objects and their corresponding view objects.
With the TaskFlowHandsOn application loaded in JDeveloper, you create a bounded task flow diagram including views, router, and operations. To do this, perform the following steps:
The BrowseEmployees page is the entry point of this task flow and you'll see how to link the page to the router component. To do this, perform the following steps:
To create the router and other bounded components, perform the following steps:
The created task flow is now going to be used as a region within the BrowseDepartments page. To do this perform the following steps:
Now that the task flow is integrated as a region to the BrowseDepartments page you can run it. To do this, perform the following steps:
In this tutorial, you created a task flow and included views, router, operations into it and added it as a region to an existing page. You learned how to:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Working with bounded Task Flows
id="portalIFrame" title="" src="file:///I:/others/%E5%8E%9F%E7%94%B5%E8%84%91%E8%B5%84%E6%96%99/%E5%9F%B9%E8%AE%AD%E6%95%99%E6%9D%90/ADF/Hands-on%205%20-%20Working%20with%20bounded%20Task%20Flows/Hands-on%205%20-%20Working%20with%20bounded%20Task%20Flows/bounded_task_flow_files/pobtrans.gif" width="0" frameborder="0" height="0" style="font-family: Simsun;font-size:14px;">