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 11gR2 Development Beginner's Guide

You're reading from   Oracle ADF 11gR2 Development Beginner's Guide Oracle ADF is one of the easiest ways to develop rich internet applications. All you need is a little Java to get the most from this book as it takes you step-by-step from installation, to development, to implementation.

Arrow left icon
Product type Paperback
Published in Apr 2013
Publisher Packt
ISBN-13 9781849689007
Length 330 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Vinod Thatheri Krishnan Vinod Thatheri Krishnan
Author Profile Icon Vinod Thatheri Krishnan
Vinod Thatheri Krishnan
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Oracle ADF 11gR2 Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
1. Installing and Configuring JDeveloper IDE FREE CHAPTER 2. Getting Started with ADF 3. Understanding the Model Layer 4. Validating and Using the Model Data 5. Binding the Data 6. Displaying the Data 7. Working with Navigation Flows 8. Layout with Look and Feel 9. Implementing Security 10. Deploying the ADF Application 11. Advanced Features of ADF Index

Time for action – creating a list of values of a department


Carry out the following steps to create a list of values:

  1. Add a view accessor mapping to the DeptVO.xml file, in the EmpEO.xml file.

  2. Go to the EmpVO.xml file and then select the Deptno attribute.

  3. Select the List of Values: section to add a new list of values, as shown in the following screenshot:

  4. Select EmpEO.DeptVO1 as List Data Source and Deptno as List Attribute to map the Deptno attribute of DeptVO to the EmpVO attribute.

  5. Go to the UI Hints tab and move the Dname attribute from the Available: section to the Selected: list.

  6. Select Combo Box with List of Values as the value for Default List Type, as shown in the following screenshot:

What just happened?

We created a list of values for our view object attribute, which will create a list of department names for the Deptno attribute. The list of department names is displayed based on the result of the query executed by the DeptVO1 view object.

In this way, we can display valid values...

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