Book Image

Oracle ADF Faces Cookbook

By : Amr Gawish, Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Gawish, Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
About the Author
About the Reviewers

Using ADF Faces server events

ADF Faces provides a huge list of server events that you can use with ADF Faces components, events such as ActionEvent with all navigation components, DisclosureEvent with tabs and accordion disclosure, PollEvent with poll components on each tick, SelectionEvent with tables, TreeTable with tree selections, ValueChangeEvent with input's value change, and more.


You can see all events from the events table in the official documentation at

This recipe will register two listeners to listen to ActionEvent and ValueChangeEvent, and to track changes of the Input Text and change the Text attribute of a Button.

You can refer to the last recipe, or you can also grab this project's recipe by cloning the ADFFacesServerEvents application from the Git repository.

How to do it…

To learn how to use ADF Faces server events, follow the ensuing steps:

  1. Open the adfc-config.xml file.

  2. Drag View from the Components...