Oracle® HTML DB
Release 2.0
  Go To Table Of Contents
Contents

Previous
Previous
Next
Next
 

Creating Trees

You can use a tree in your application to effectively communicate hierarchical or multiple level data.

Topics:

Creating a Tree

To create a tree:

  1. Navigate to the Shared Components page:

    1. Navigate to the Workspace home page.

    2. Click the Application Builder icon.

    3. Select an application.

    4. On the Application Builder home page, click Shared Components.

  2. Under Navigation, select Trees.

    The Trees page appears.

  3. To create a new tree, click Create.

  4. Enter basic page information.

  5. Specify how tabs should be implemented.

  6. Enter a Tree Name and specify number of default expanded levels.

  7. Select a tree template.

  8. To display a tree, you need to specify a starting point. Depending on your Start Tree selection, enter either a query or a single value.

  9. Identify whether to include Collapse All, Expand All, or Reset Tree buttons.

  10. Specify the owner and name of the table on which the tree will be based.

  11. A tree is based on a query and returns data that can be represented in a hierarchy. Identify the column you want to use as the ID, the Parent ID, and specify the text that should appear on the leaf nodes.

    1. I D - Enter the column you want to use as the ID.

    2. Parent ID - Enter the Parent ID.

    3. Leaf Node Text - Specify the text that should appear on the leaf nodes.

    4. Link Option - Select Existing Application Item to make the leaf node text a link. If you select this option, specify a page to link to.

  12. Optional. Identify an optional where and order by clause to add to your query.

  13. Specify the display text for the Go button.

  14. Identify the page you want to branch to when the user clicks a button.

  15. Click Finish.

Editing a Tree

Once you create a tree you can edit it on the Trees page.

To edit a tree:

  1. Navigate to the Workspace home page.

  2. Click the Application Builder icon.

  3. Select an application.

  4. On the Applications home page, click Shared Components.

  5. Under Navigation, select Trees.

    The Trees page appears.

  6. You can change the appearance of the page by making a selection from the View list. Available options include:

    • Icons (the default) displays each tree as a large icon. To edit a tree, click the icon.

    • Details displays each tree as a line in a report. To edit a tree, click the appropriate name.

Accessing Tree Reports

You can view the Trees Utilization and Tree History reports by clicking the appropriate tab at the top of the Trees page.


Note:

The Utilization and History buttons only appear after you have created a tree.

Tree Utilization

Click Utilization to access the Tree Utilization report. This report displays all trees included in the current application. To edit a tree, select the tree name.

Tree History

Click History to view changes to trees by developer and date.