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 the pop-up dialogs, menus, and windows

The pop-up components are used with a number of other ADF Faces components to create dialogs, menus, notes, and windows that provide information or request input from end users. They can be configured to show a secondary window to request information or to edit inline without enforcing the user to leave the current page.

In this recipe, we will create a page, which will have pop-up dialogs, context menu pop ups, note windows, and pop-up windows. You can continue from the previous recipe, or you can grab the ADFFacesPopups application from Git repository.

How to do it...

To add different pop ups, follow the ensuing steps:

  1. Open the adfc-config.xml file.

  2. Drag-and-drop a view activity inside the diagram and name it employeesPopup.

  3. Double-click on the view activity to create the JSF page and choose the Oracle Three Column Layout as a template.

  4. Drag EmployeesView1 under Chapter4AppModuleDataControl from the Data Control pane, drop it into the center facet...