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 – publishing an event and subscribing it


Use the following steps to publish and subscribe an event:

  1. Select the component that is raising the REFRESH event.

  2. Go to the property inspector and create a contextual event.

  3. In the Publish Contextual Event dialog, select the Create New Event option and provide the name REFRESH in the text field provided.

    In the Payload section, select the Pass Custom Value from: option and then the String Literal option. You are provided with other options such as Page Data and Managed Bean method return. Please note that we can refresh the page without any payload value. The payload example provided here is only for you to learn how to pass the values.

  4. You can set a condition to raise the event in the Raise Condition section of the dialog.

  5. Click on the OK button. Now go to the page definition, and you can see the REFRESH event added to the Contextual Event section, as shown in the following screenshot:

  6. Now go to the page where you want to subscribe...