Docs.oracle3

1
Part 3: Enhancing the User Interface Web applications usually have more than one page in them. In this part of the tutorial you add another page - a Search page - to your application and use the ADF Task Flow Diagrammer to define the navigation rules between the two pages. You then use features of the ADF Faces Framework to add extra functionality to the pages. Finally you create a reusable page fragment and add it to the DeptEmpPage page. Step 1: Create a Page Flow In the Application Navigator locate the adfc-config file under the Page Flows node in the ViewController project. Double-click it to open it in the editor. This is where you are going to define the application's navigation. 1. Drag the DeptEmpPage.jsf file from the Application Navigator into the empty adfc-config diagram. 2. From the Component Palette drag and drop a View component into the adf-config diagram, and rename it query. This represents the new JSF page that you are about to create. 3. From the Component Palette select Control Flow Case and then click on the DeptEmpPage and drag a line to the query page. 4. Page 1 of 1 Oracle JDeveloper 11g Release 2 Tutorials - Developing Rich Web Applications With... 27/03/2012 http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_3.html

Transcript of Docs.oracle3

Page 1: Docs.oracle3

Part 3: Enhancing the User Interface

Web applications usually have more than one page in them. In this part of the tutorial you add another page - a Search page - to your application and use the ADF Task Flow Diagrammer to define the navigation rules between the two pages. You then use features of the ADF Faces Framework to add extra functionality to the pages. Finally you create a reusable page fragment and add it to the DeptEmpPage page.

Step 1: Create a Page Flow

In the Application Navigator locate the adfc-config file under the Page Flows node in the ViewController project. Double-click it to open it in the editor. This is where you are going to define the application's navigation.

1.

Drag the DeptEmpPage.jsf file from the Application Navigator into the empty adfc-config diagram.2.

From the Component Palette drag and drop a View component into the adf-config diagram, and rename it query. This represents the new JSF page that you are about to create.

3.

From the Component Palette select Control Flow Case and then click on the DeptEmpPage and drag a line to the query page. 4.

Page 1 of 1Oracle JDeveloper 11g Release 2 Tutorials - Developing Rich Web Applications With...

27/03/2012http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_3.html