14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.6. Creating Tree Layouts<br />

You can use <strong>JHeadstart</strong> to generate tree controls. A tree control is extremely useful for<br />

showing hierarchical structures in your data model.<br />

Examples:<br />

5.6.1. Generating a Basic Tree<br />

• Geographical areas subdivided in regions.<br />

• Bill of Material structures: parts consisting of sub parts, consisting of sub-sub<br />

parts and so on.<br />

• Organizational structures.<br />

This section will explain how to generate such a tree control with <strong>JHeadstart</strong>.<br />

Most of the tree controls you will generate will be of the basic category. There are a few<br />

variations that will be explained in later sections:<br />

• Variation: Basic Tree with navigation-only nodes<br />

• Variation: Recursive Tree<br />

• Variation: Recursive Tree with Limited Set of Root Nodes<br />

• Variation: Tree showing only Children of selected Parent<br />

It is advised to start with the basic steps, before reading the variations.<br />

In the HR sample schema, a geographical structure is present that can be used in a tree<br />

control. We have REGIONS, consisting of multiple COUNTRIES, consisting of multiple<br />

LOCATIONS, consisting of multiple DEPARTMENTS, consisting of multiple<br />

EMPLOYEES.<br />

5 - 24 Generating Page Layouts <strong>JHeadstart</strong> Developer’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!