Book Image

Oracle ADF 11gR2 Development Beginner's Guide

By : Vinod Thatheri Krishnan
Book Image

Oracle ADF 11gR2 Development Beginner's Guide

By: Vinod Thatheri Krishnan

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
Index

Time for action – showing a popup to the user


Now we will see how to create a popup from scratch in ADF:

  1. Go to the index.jspx page and then select the Command button that holds the commit operation from the Structure window.

  2. Right-click on the Command button and select the Insert inside the af:commandButton –Commit option and the select the Adf Faces option.

  3. Click on the Show Popup Behavior option in the Insert ADF Faces Item window:

  4. Now a af:showPopupBehavior component is added to the commit operation. Now add triggerType as action, which is the event that should invoke the popup. The id value of the Command button cb1 is provided for the alignId component, that is, the popup relative to the Command button. The align property is set to beforeStart to align the popup next to the af:commandButton component.

  5. Now we will create an af:popup component and add an af:dialog component to it. Add a message saying Do you really want to commit the data? inside the af:dialog component.

  6. Provide the ID of...