15
ADF Task Flows

5. ADF TaskFlow

  • Upload
    ram-nu

  • View
    228

  • Download
    5

Embed Size (px)

DESCRIPTION

adf

Citation preview

Slide 1

ADF Task FlowsTechnology Choices for Fusion Applications

Characteristics of ADF Task FlowsADF task flows are logical units of page flows that: Offer advantages over JSF page flows: Application can be broken into series of tasks Can contain nodes other than pages Can navigate between activities other than pages Reusable Shared memory scope Can be either unbounded or boundedCharacteristics of Unbounded ADF Task FlowsUnbounded ADF task flows often serve as the entry point to an application, and have the following characteristics: First entry on task flow stackthe outermost task flow No well-defined boundary or single point of entry: use an unbounded task flow if your application has multiple points of entry Can be used to define the top level flow of an application Bookmarkable pagesWorking with Unbounded Task Flows Unbounded task flow source file is adfc-config.xml. Editor contains four tabs to show different views: Diagram Source Overview History

You can easily test task flow functionality in the unbounded task flow, and convert to bounded when functioning correctly.

Using a Bounded Task Flow

Regions Bounded task flows can be made up of page fragments (.jsff files) Such flows can then be embedded into pages as regions This is a very common pattern allowing the creation of complex pages made up of a series of re-usable components (ie. Task Flows) Just drag and drop the flow into the pageBounded and Unbounded ADF Task Flows: Example

Comparing Unbounded and Bounded Task Flows

Converting Task Flows

Defining ADF Control Flow RulesADF control flow rules: Define flow through activities, such as views (pages) Are stored in task flow configuration files Can be defined by using: The visual editor (Navigation Modeler) The .xml console (Configuration Editor) The .xml file directly The Structure window Are invoked by: Command components (button, link) Tabs or breadcrumbs TrainsExample of ADF Control Flow Rules

Using Routers for Conditional NavigationRouter activities: Use expressions that evaluate to true or false

Define from-outcomes based on the value of the expressionCalling Methods and Other Task Flows

Defining a Task Flow Return ActivityWhen you return from a called task flow, the task flow returnactivity specifies the outcome that is returned to the caller.