1 / 15

ADF Task Flows

ADF Task Flows. Technology Choices for Fusion Applications. Characteristics of ADF Task Flows. ADF 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

adsila
Download Presentation

ADF Task Flows

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ADF Task Flows

  2. Technology Choices for Fusion Applications

  3. Characteristics of ADF Task Flows ADF 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 bounded

  4. Characteristics of Unbounded ADF Task Flows Unbounded ADF task flows often serve as the entry point to an application, and have the following characteristics: • First entry on task flow stack—the 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 pages

  5. Working 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.

  6. Using a Bounded Task Flow

  7. 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 page

  8. Bounded and Unbounded ADF Task Flows: Example

  9. Comparing Unbounded and Bounded Task Flows

  10. Converting Task Flows

  11. Defining ADF Control Flow Rules ADF 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 – Trains

  12. Example of ADF Control Flow Rules

  13. Using Routers for Conditional Navigation Router activities: • Use expressions that evaluate to true or false • Define from-outcomes based on the value of the expression

  14. Calling Methods and Other Task Flows

  15. Defining a Task Flow Return Activity • When you return from a called task flow, the task flow return • activity specifies the outcome that is returned to the caller.

More Related