Creating the Struts Page Flow for the Oracle ADF Application

JDeveloper provides a page flow modeling tool that you use to visualize a Struts-based web application. You use the Struts Page Flow Diagram to design your page flow using standard Struts elements that you select from the Component Palette. The page flow diagram you create for your application maintains the Struts configuration file ( struts-config.xml) in your project.

To create a Struts page flow diagram that represents your application's flow:

  1. Choose a design approach for the way you want to create the web pages to be used in the page flow diagram.

  2. If your project does not already contain the WEB-INF folder with the struts-config.xml file, add Struts support to your project.

  3. Open the Struts Page Flow Diagram.

  4. Add a data page or a data action to the page flow diagram to provide the starting point for launching a databound web page.

    For more information about when to use a data page or a data action, see Deciding When to Use a Data Page or a Data Action.

  5. Optionally, design the web page in the JDeveloper Visual Editor using the Data Control Palette .

    Use the Data Control Palette in JDeveloper to quickly assemble your databound pages. For further suggestions about the pages and Struts page flows you can create, see Designing the User Interface with Oracle ADF Databound Components .

  6. Add a page link to the page flow diagram to specify a destination for the page.

  7. Optionally, create additional forward results for the data action.

After you have created a page flow with at least one action mapping, in the diagram, right-click the action that forwards to the desired page and choose Run.


For an overview of the web application design process:

To read about Struts and the page flow diagram:

See this topic for page flows that support specific types of web pages:

 

Copyright © 1997, 2004, Oracle. All rights reserved.