Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle ADF Real World Developer's Guide

You're reading from   Oracle ADF Real World Developer's Guide Mastering essential tips and tricks for building next generation enterprise applications with Oracle ADF with this book and ebook.

Arrow left icon
Product type Paperback
Published in Oct 2012
Publisher Packt
ISBN-13 9781849684828
Length 590 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (20) Chapters Close

Oracle ADF Real World Developer's Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with Oracle ADF FREE CHAPTER 2. Introduction to ADF Business Components 3. Introducing Entity Object 4. Introducing View Object 5. Advanced Concepts on Entity Objects and View Objects 6. Introducing the Application Module 7. Binding Business Services with the User Interface 8. Building Data Bound Web User Interfaces 9. Controlling the Page Navigation 10. Taking a Closer Look at the Bounded Task Flow 11. More on Validations and Error Handling 12. Oracle ADF Best Practices 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime