Book Image

Oracle ADF Real World Developer's Guide

By : Jobinesh Purushothaman
Book Image

Oracle ADF Real World Developer's Guide

By: Jobinesh Purushothaman

Overview of this book

Oracle ADF in combination with JDeveloper IDE offers visual and declarative approaches to enterprise application development. This book will teach you to build scalable rich enterprise applications using the ADF Framework, with the help of many real world examples. Oracle ADF is a powerful application framework for building next generation enterprise applications. The book is a practical guide for the ADF framework and discusses how to use Oracle ADF for building rich enterprise applications. "Oracle ADF Real World Developer's Guide" discusses ADF framework in detail. This book contains a lot of real life examples which will help developers to design and develop successful enterprise applications. This book starts off by introducing the development environment and JDeveloper design time features. As you read forward, you will learn to build a full stack enterprise application using ADF. You will learn how to build business services using ADF, enable validation for the data model, declaratively build user interfaces for business service and enable security across application layers.
Table of Contents (20 chapters)
Oracle ADF Real World Developer's Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Dynamically adding multiple regions to a page


ADF allows you to add or remove regions to a page at runtime. This feature is useful if you do not know the number of regions that render in the page at design time. For example, consider a page with panel tabbed display, each tab holding a region. An end user can add or remove tabs at runtime. This section discusses a solution for such use cases.

You can use a page definition file's multiTaskFlow element to reference a list of bounded task flows that are added at runtime. Each region in the UI may hold a reference to a task flow in the list. The following are the implementation details:

  1. Implementing the logic to return a task flow binding attributes list.

    The first step is to build a managed bean to return a dynamic task flow list containing oracle.adf.controller.binding.TaskFlowBindingAttributes instances. Each TaskFlowBindingAttributes entry describes a task flow added at runtime. The following is an example for TaskFlowBindingAttributes:

    TaskFlowBindingAttributes...