Mastering Oracle ADF Task Flows. Frank Nimphius Principal Product Manager Oracle JDeveloper / ADF

Similar documents
1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Oracle Fusion Middleware 11g: Build Applications with ADF I

Oracle Fusion Middleware 11g: Build Applications with ADF I

ADF Code Corner How to cancel an edit form, undoing changes with ADFm savepoints

ADF Region Interaction: External Train Navigation

Oracle Middleware 12c: Build Rich Client Applications with ADF Ed 1 LVC

ADF Hands-On. Understanding Task Flow Activities / 2011 ADF Internal Enterprise 2.0 Training. Abstract:

ADF Code Corner. 048-How-to build XML Menu Model based site menus and how to protect them with ADF Security and JAAS. Abstract:

ADF Mobile Code Corner

ADF Code Corner How-to bind custom declarative components to ADF. Abstract: twitter.com/adfcodecorner

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here> Accelerated Java EE Development: The Oracle Way

Oracle JDeveloper/Oracle ADF 11g Production Project Experience

ADF Code Corner How-to declaratively build a master-detail behavior with DVT components. Abstract: twitter.com/adfcodecorner

ADF OAF Who Cares? You Do! Oracle Applications Framework / Application Development Framework - Which way do I go?

<Insert Picture Here> Advanced ADF Faces. Frank Nimphius Principal Product Manager

Oracle Fusion Middleware 11g: Build Applications with ADF Accel

Oracle 1Z Oracle Application Development Framework 12c Essentials. Download Full Version :

Oracle Developer Day

ADF Code Corner How-to launch a popup upon rendering of a page fragment in a region using JSF 2. Abstract: twitter.

AuraPlayer Server Manager User Guide

ADF Code Corner How-to build a reusable toolbar with Oracle ADF Declarative Components. Abstract: twitter.com/adfcodecorner

Contract Information Management System (CIMS) Technical System Architecture

User Guide Using AuraPlayer

<Insert Picture Here> The Oracle Fusion Development Platform: Oracle JDeveloper and Oracle ADF Overview

Java EE 6: Develop Web Applications with JSF

ADF Code Corner. 90. Filtering ADF bound lists. Abstract: twitter.com/adfcodecorner

ADF Code Corner. 97. How-to defer train-stop navigation for custom form validation or other developer interaction. Abstract: twitter.

Chapter. An Introduction to Oracle JDeveloper and Oracle ADF

Oracle 1Z Oracle WebCenter 11g Essentials.

Oracle Fusion Middleware

Oracle Developer Day

Overview. Principal Product Manager Oracle JDeveloper & Oracle ADF

Oracle ADF: The technology behind project fusion. Lynn Munsinger Principal Product Manager Application Development Tools Oracle Corporation

Oracle Application Development Framework Overview

Understanding Oracle ADF and its role in the Oracle Fusion Platform

ORACLE WCM 11G MASTER CLASS

Oracle Fusion Middleware

<Insert Picture Here> Oracle JHeadstart Forms2ADF - Overview

Developing Cross Device Mobile Applications

Oracle Fusion Middleware

Oracle ADF Faces Cookbook

Rich Web UI made simple Building Data Dashboards without Code

Oracle Retail Accelerators for WebLogic Server 11g

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Oracle Fusion Developer Guide (ISBN: ) Preview Chapter 1. The Quick Lerner s Guide to Oracle Fusion Web Application Development PREVIEW

<Insert Picture Here> The Latest E-Business Suite R12.x OA Framework Rich User Interface Enhancements

ADF Code Corner. 64. How-to implement a Select Many Shuttle with pre- selected values. Abstract: twitter.com/adfcodecorner

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

ADF Code Corner How-to restrict the list of values retrieved by a model driven LOV. Abstract: twitter.com/adfcodecorner

Developing an ADF 11g client for Agile PLM. Developing an ADF 11g client for Agile PLM

ADF Code Corner. 70. How-to build dependent list boxes with Web Services Business Services. Abstract: twitter.com/adfcodecorner

Question No: 1 In which file should customization classes be specified in the cust-config section (under mds-config)?

ADF Code Corner. 016-How-to customize the ADF Faces Table Filter. Abstract: twitter.com/adfcodecorner

ArtOfTest Inc. Automation Design Canvas 2.0 Beta Quick-Start Guide

Mobile Application Development: Introducing ADF Mobile Native Client Framework

Getting started with ADF 11g

ADF Code Corner. Oracle JDeveloper OTN Harvest 02 / Abstract: twitter.com/adfcodecorner

ADF Code Corner How-to use the af:autosuggestbehavior component tag with ADF bound data sources. Abstract: twitter.

Copyright 2010, Oracle. All rights reserved.

Migrating an Oracle WebCenter Portal Framework Application to the Oracle WebCenter Portal Server

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

SharePoint 2013 Power User

OES Permission Checks in ADF Task Flows

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Activ! Coaching User Guide

SelfTestEngine.PR000041_70questions

Implementing a Numerical Data Access Service

Building User Interface for Android Mobile Applications II

6/13/2012. Sneak Preview: Oracle JDeveloper 12c New Features. Frank Nimphius Senior Principal Product Manager Oracle Development Tools

OIG 11G R2 Field Enablement Training

A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group

ADF Code Corner. Oracle JDeveloper OTN Harvest 01 / Abstract: twitter.com/adfcodecorner

1Z0-430

ADF Mobile Code Corner

Telerik Corp. Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide

Creating your first JavaServer Faces Web application

USER GUIDE: CHAPTER 1 PROJECT WIZARD Layout Page

Oracle Developer Day

Oracle WebCenter Suite Integrating Secure Enterprise Search

Oracle Exam 1z0-441 Oracle Mobile Development 2015 Essentials Version: 6.0 [ Total Questions: 85 ]

Achieving the Perfect Layout with ADF Faces RC

Index A Access data formats, 215 exporting data from, to SharePoint, forms and reports changing table used by form, 213 creating, cont

NetAdvantage for ASP.NET Release Notes

STARCOUNTER. Technical Overview

Peter Moskovits Principal Product Manager Oracle Corporation. Sue Vickers Group Manager Oracle Corporation

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

Enabling Web 2.0 User Experience for E-Business Suite. Padmaprabodh Ambale, Gustavo Jimenez Development Managers, Applications Technology Group

You will always have access to the training area if you want to experiment or repeat this tutorial.

The Tie That Binds: An Introduction to ADF Bindings

A Guide to Quark Author Web Edition 2015

Oracle CPQ Cloud. What s New in 2016 R2

Where Do We Go From Here? Why Many IT Staff are Living in the Past

Comprehensive AngularJS Programming (5 Days)

Effective Web Dynpro - Adaptive RFC Models

Oracle Fusion Middleware

Pick A Winner! In What Tool Should I Develop My Next App?

JSF Navigation.!! DevelopIntelligence

Acknowledgments Introduction. Part I: Programming Access Applications 1. Chapter 1: Overview of Programming for Access 3

NetAdvantage for ASP.NET Release Notes

Transcription:

Mastering Oracle ADF Task Flows Frank Nimphius Principal Product Manager Oracle JDeveloper / ADF 1

ADF Controller Introduction Real Life Control Flow: How to get to the Opera? The Rules You Are Here Opera Line 6 doesn't operate on Sundays You have 30 minutes to get there in time You have to meet a friend first to get the tickets You must get your evening dress from the laundry (closes at 5 pm) Train staff announced temporary power outage at 6 p.m for 2 minutes Train tickets can only be reimbursed if not used Day passes allow you to get on and off trains as often as you want 2

What is ADF Controller? ADFc Definition Extension to JSF page flow engine Addresses key enterprise requirements * Reuse * Navigation to non-visual targets * Declarative exception and transaction handling * Security Visually defined in task flow diagrammer Allows the definition of managed beans Additional memory scopes What we say, what we mean Unbounded Taskflow First entry on task flow stack the outer-most task flow No well-defined boundary or single point of entry Used to define the top level flow of an application Used to build menu models Declarative bookmarking of view activities Bounded Taskflow Reusable "white box" navigation and processing Single point of entry Well-defined boundary Own memory scope Declarative transaction management Declarative Back button support Input/output parameters 3

Key Concepts View Activity Activity flows (navigation cases) Method execution Router Task flow call activity Exception handling Declarative Exception Handling Exceptions can be mapped to an activity Generally for unexpected exceptions or security violations Not a normal part of a flow Only one handler per flow However, that could be a method or a router if different errors need different handling <exception-handler>unexpectederrorpage</exception-handler> 4

Product Demonstration Task Flow Design Time Control Flow Case Named events that link activities Just like JSF navigation rules Raised by command items in the page buttons / links / menus Defined as the action attribute, or the result of action code Have an origin Combination of page and raising method Wildcards are allowed so global rules are possible Have a destination An activity What does it really mean? You just draw a line on the diagram! 5

Control Flows pagehelp globalhelp editrecord apphelp <control-flow-rule> <from-activity-id> editrecord </from-activity-id> <control-flow-case> <from-outcome> pagehelp </from-outcome> <to-activity-id> apphelp </to-activity-id> </control-flow-case> </control-flow-rule> <control-flow-rule> <from-activity-id> * </from-activity-id> <control-flow-case> <from-outcome> globalhelp </from-outcome> <to-activity-id> apphelp </to-activity-id> </control-flow-case> </control-flow-rule> Task Flow Templates Reusable task flow definition Reuse by reference or as a copy Can contain common functionality and settings Exception handlers Task flow activity navigation outline Use of initializers and finalizers Visibility settings URL accessible Visible in ADF Library Behavior settings Train Task flow reentry Critical Data Control sharing Pre-defined input and output parameters 6

Product Demonstration Task Flow Templates Bounded Task Flow 7

About Bounded Task Flows Modular blocks of task flow functionality Well-defined boundary Additional Memory scope Declarative transaction management Can accept input parameters and return values On-demand metadata loading Fragment reuse through task flow templates Declarative Back button support Declarative Security Train Model Consist of: Activities View, Router, Method, task flow call, URL Control flows between activities Bounded Task Flow Benefits Can be nested within and called from other task flows Invoked Task flow call activity Treated like any other activity Parent is suspended whilst the sub-flow has focus Has a defined API Parameters and outcomes (just like view activities) Has a strict entry point users can't just jump to a page Special handling for the browser back button Initializer and Finalizer code can be defined Automatically run Can be created based on templates 8

Use It in Another Flow Product Demonstration Creating Bounded Task Flows 9

Saving for Later Quitting time Next Morning I ll work some more on this tomorrow. Great right where I left off! Save for Later Unbounded and Bounded Task Flow feature Takes a Snapshot of current transaction and memory states Saves Snapshot in Database Allows users to recover to left state Automatic snapshots possible when bounded task flow is marked as critical Not a "save as draft" Snapshots are only stored for limited time (24h by default) 10

Save for Later Explicit save for later: Requires an action from the end user Enabled by calling SavePointManager.createSavePoint() Implicit save for later: Happens when browser is closed or session times out. Enabled by setting the critical property on the taskflow Data is restored using a save point restore activity with save-point id. Saved Content User Interface State UI state of the current page, including selected tabs, selected checkboxes, selected table rows, and table column sort order Managed Beans State information saved in memory scopes, including page flow scope The managed beans must be serializable in order to be saved. Navigation State Task flow call stack Tracks where the end user is in the application and the navigational path for getting there 11

Product Demonstration Implementing Save Points ADF Region 12

About ADF Regions A special use case of bounded task flow Display as independent areas of a page or a page fragment Executes task flow without requiring the parent view to refresh Key enabler of enterprise Web 2.0 development with the Oracle Fusion development platform Allows building desktop like web user interfaces that unveil the real power of Ajax Does not expose developers to the complexity of Ajax programming Type of ADF Regions Static Create by drag-and-drop of bounded task flow definition from Application Navigator Task flow binding in PageDef file points to bounded task flow af:region component referenced task flow binding Dynamic Create by drag-and-drop of bounded task flow definition from Application Navigator chosing "Dynamic Region" option Task flow binding in PageDef file references managed bean Managed bean defines which task flow to show in af:region tag Allows to switch between bounded task flows 13

Use it inside another View Product Demonstration Using Bounded Task Flows in Regions 14

Summary ADF Task Flows is an extension of the JSF Navigation Flow Two Types of Flows: Unbounded and Bounded Promotes Reuse and allows flows to run within areas of a page Visual design time Declarative transaction and exception handling 15