-
Book Overview & Buying
-
Table Of Contents
Oracle JDeveloper 11gR2 Cookbook
By :
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 or employee) being clicked. Based on the type of node, it then displays the department or the employee information.
You will need to create a skeleton Fusion Web Application (ADF) workspace before you proceed with this recipe. For this, we will...
Change the font size
Change margin width
Change background colour