January 2012
Intermediate to advanced
406 pages
11h 11m
English
The ADF Faces Tree component (af:tree) can be used to display model-driven master-detail data relationships in a hierarchical manner. In this case, the parent node of the tree indicates the master object, while the child nodes of the tree are the detail objects.
In this recipe, we will demonstrate the usage of the af:tree component to implement the following use case: Using the HR schema, we will create a JSF page that presents a hierarchical list of the departments and their employees in a tree. As you navigate the tree, the detailed department or employee information will be displayed in an editable form. The recipe makes use of a custom selection listener to determine the type of the tree node (department ...
Read now
Unlock full access