Add the
af:switcher
component to the page from the Component palette.Select the
switcher
component in the page from the Structure window or from thedesign
view.From the Structure window right-click on the
af:switcher
component and then select Insert into the option to insert a facet.Provide the
facet
name asfirst
. Repeat the same step to add another facet namedsecond
.In the property inspector, provide the value as
first
for thedefaultFacet
property.Inside the first facet, add the employee information from the Data Controls palette. Drag-and-drop the
EmpVO
information on to the first facet.Add the
DeptVO
to the second facet. Surround the table with a group layout or a stretch layout based on the requirements of the page.Now add the following EL expression to the
facetName
property of the switcher:#{bindings. EmpVO1.estimatedRowCount > 0 ? 'first' : 'second'}
Oracle ADF 11gR2 Development Beginner's Guide
By :
Oracle ADF 11gR2 Development Beginner's Guide
By:
Overview of this book
Oracle ADF is an end-to-end framework which makes application development simple by providing infrastructure services as well as visual and declarative development right away. "Oracle ADF 11gR2 Development Beginner's Guide" guides any user with programming skills to be able to quickly learn the options and ways to develop rich Internet applications using ADF 11gR2. Containing all the skills that a new user has to use to build an application in ADF 11gR2, this book is designed in such a way so that it enhances the practical feel of developing applications in ADF 11gR2. Starting with the installation and configuration of Oracle ADF 11g RD we will then work through topics such as working with the Model Layer and Model Data followed by displaying and binding the data. Later we will look at Navigations and Flows within applications as well as their layout, look, and feel. "Oracle ADF 11g R2 Development Beginner's Guide" will conclude with us looking at the security and deployment of the applications which have been created.
Table of Contents (19 chapters)
Oracle ADF 11gR2 Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
Free Chapter
Installing and Configuring JDeveloper IDE
Getting Started with ADF
Understanding the Model Layer
Validating and Using the Model Data
Binding the Data
Displaying the Data
Working with Navigation Flows
Layout with Look and Feel
Implementing Security
Deploying the ADF Application
Advanced Features of ADF
Index
Customer Reviews