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
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Presenting master-details records using ADF List with a group header


The previous master-details recipe that has a great UI look and feel is the list view component with group header enabled; this will allow you to have a master-details relationship inside the list view component.

In this recipe, you will represent the same relationship between the manager and his/her employees as a list view with group header.

You can continue from the previous recipe, or you can grab this project's recipe by cloning the presentingMasterDetailList application from the Git repository.

How to do it...

The steps for presenting master-details records using the ADF list with a group header are as follows:

  1. Create a task flow and a view JSF page fragment with the following properties:

    1. Task Flow name: master-details-employees-list.

    2. Create with Page Fragments: Checked.

    3. View name: mdEmployeesList.

    4. Page Fragment Directory: public_html\fragments.

    5. Page Fragment Layout: Create Blank Page.

  2. Navigate to Data Control | HrAppModuleDataControl...