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

Building a data bound multi select list


The selection components allow the user to select single and multiple values from a list. The ADF framework offers a variety of data bound multi select UI components.

To create a data bound multi select component, drag a collection from the Data Control panel on to a JSF page. In the opened context menu, choose Multiple Selection | ADF Select Many Choice (or any other suitable multi select component). Select the base and display attribute in the Edit List Binding dialog window and click on OK.

When you drop a collection as multi select components, IDE generates the following:

  • Component code in JSF page

  • Iterator and list binding in the page definition file

Programmatically accessing selected rows

The following code snippet illustrates the binding APIs for accessing selected rows in a list binding. The list binding used in this example is built by dropping the Departments view object as ADF Select Many Choice on the JSF page. The following is the list binding...