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

Presenting master-details records using ADF Tables and Forms


To have multiple records in a page is one thing, but to have a master-details relationship, whether this relationship is originally based on a one-to-many or many-to-many database relationship, is essential to many applications.

In this recipe and the following two recipes, we will get to know three different approaches to display master-details records in pages. One of the most basic yet effective approaches is the use of a combination of forms and tables to view master-details information, and this gives us four options:

  • Master form, details table

  • Master form, details form

  • Master table, details form

  • Master table, details table

These four options cover how you can use master-details scenarios with tables and forms.

In this recipe, you will walk through the first option, and by finishing it, you will grasp the rest on your own.

In order to use the master-details approach, you need to have a master-details model. In pure Java language,...