Presenting master-details records using ADF Tree and tree table components
As you can see from the previous recipe, we presented a hierarchy that can be mapped to a tree instead of tables and forms, and ADF provides a great way to deal with hierarchical data by having two components; a tree component and a tree table component.
In this recipe, you will represent the same relationship between manager and employees as tree and tree table respectively.
You can continue from the previous recipe, or you can grab this project's recipe by cloning the presentingMasterDetailTrees
application from the Git repository.
How to do it...
To present master-details relationship using trees and tree tables, follow the ensuing steps:
Create a task flow and a view JSF page fragment with the following properties:
Task Flow name:
master-details-employees-tree
.Create with Page Fragments: Checked.
View name:
mdEmployeesTree
.Page Fragment Directory:
public_html\fragments
.Page Fragment Layout: Create Blank Page.
Drag-and...