Book Image

Oracle ADF Faces Cookbook

By : Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Typical JSF applications handle events on the server. JSF event handling is based on the JavaBeans event model, where event classes and event listener interfaces are used by the JSF application to handle events generated by components. This includes clicking on a button or link, selecting an item from a list, or changing a value in an input field.

When a user clicks on a button, the button component creates an event object that stores information about the event and identifies the component that generated the event. This event then gets added to an event queue in which it gets executed at the appropriate time in the JSF life cycle.

But before talking about events, we need to first understand how different scopes are handled in Oracle ADF Faces.

Imagine that you have a bounded task flow with one of the page fragments containing a region and two instances of a declarative component (more about declarative components in Chapter 9, Building Your Application for Reuse). The following...