Описание тега adf-task-flow

ADF task flows provide a modular approach for defining control flow in an application. Instead of representing an application as a single large JSF page flow, you can break it up into a collection of reusable task flows. Each task flow contains a portion of the application's navigational graph.

ADF task flows provide a modular approach for defining control flow in an application. Instead of representing an application as a single large JSF page flow, you can break it up into a collection of reusable task flows. Each task flow contains a portion of the application's navigational graph. The nodes in the task flows are activities. An activity node represents a simple logical operation such as displaying a page, executing application logic, or calling another task flow. The transactions between the activities are called control flow cases.

ADF task flows offer significant advantages over standard JSF page flows...

JSF Page Flow

  • The entire application must be represented in a single page navigation file (faces-config.xml). Although you can have multiple copies of faces-config.xml in a project, the application loads these files as one at runtime.

  • All nodes within a JSF page flow must be JSF pages. No other types of objects can exist within the JSF page flow.

  • Navigation is only between pages.

  • Application fragments cannot be reused.

  • There is no shared memory scope between multiple requests except for session scope.

ADF Task Flow

  • The application can be broken up into a series of modular flows that call one another.

  • You can add to the task flow diagram nodes such as views, method calls, and calls to other task flows.

  • Navigation is between pages as well as other activities, including routers.

  • ADF task flows are reusable within the same or an entirely different application. After you break up your application into task flows, you may decide to reuse task flows containing common functionality.

  • Shared memory scope (for example, page flow scope) enables data to be passed between activities within the task flow. Page flow scope defines a unique storage area for each instance of an ADF bounded task flow.