Integrating Java Page Flow Applications

Java Page Flows are a native feature of WebLogic Platform. Page Flows provide an event-driven flow through an application. Page Flows let you separate the user interface code from navigational control and other business logic.

This topic shows you how to integrate Page Flows into a portal application so that you can surface them in a portal interface.

There are two scenarios for integrating Page Flows:

To build a Page Flow in a non-portal application in WebLogic Workshop

To add portal functionality to your Page Flow application or surface Page Flows in portlets, you must install portal in the application and project containing the Page Flow application (unless the application is already a portal application and the project is already a portal Web project).

To use Page Flows in a portal environment:

  1. Install Portal in the application and project. See Creating a Portal Application and Portal Web Project.
  2. In order for URLs in the Page Flows to resolve correctly, Page Flow support must be enabled in the portal Web project's WEB-INF/netuix-config.xml file, as shown in the following example. Notice the <enable> element is set to true.
    <!-- Enable or disable Pageflow support -->
    <pageflow>
        <enable>true</enable>
    </pageflow>
    
    If this block is not present in netuix-config.xml, do not add it. Without the block, the setting defaults to true.

You can now give your Page Flow application a portal interface, build portlets for it, and add portal functionality to it.

To build a Page Flow in a portal application in WebLogic Workshop

In an existing portal application, you already have the necessary files and services to surface your Page Flows in a portal interface. All you must do is build Page Flows in the portal application and take the necessary steps to surface them in portlets.

  1. In any portal Web project in the application, create a Page Flow. See Guide to Building Page Flows.
  2. In order for URLs in the Page Flows to resolve correctly, Page Flow support must be enabled in the portal Web project's WEB-INF/netuix-config.xml file, as shown in the following example. Notice the <enable> element is set to true.
    <!-- Enable or disable Pageflow support -->
    <pageflow>
        <enable>true</enable>
    </pageflow>
    
    If this block is not present in netuix-config.xml, do not add it. Without the block, the setting defaults to true.

You can now give your Page Flow application a portal interface, build portlets for it, and add portal functionality to it.

Related Topics

Building Java Page Flow Portlets

How Do I: Add Portal Functionality to an Existing Page Flow Application?