Portlet Factory, Version 6.1.2


 

Tree builder

Use the Tree builder to display a hierarchy of information and allow the user to select a single element from the hierarchy.

A tree is another select control. The Tree builder displays data in a familiar tree format, with open and close icons.

When you create a Tree builder, you pass it an XML structure, such as you might create in a variable, or that might be returned from a service call. The Tree builder provides a number of options for exactly how the tree should display, and the format in which it should return its value. When a page containing a Tree builder is rendered, a Tree Handler builder interprets your XML tree and constructs HTML to create the tree behavior.

Note: This builder output is rendered as a select list in browsers other than Microsoft Internet Explorer. Consequently, various inputs to this builder (for example, Look & Feel items and Advanced items) do not apply in browsers other than Internet Explorer.

 

Quick tips

Opening the Tree at the last selected node

If you show a page with a tree on it and save the value from the tree, the next time you show that same page, if you pass in your saved value as the Selected Value, the same node initially displays as selected.

Create your own node and leaf icons

You can create your own icons for use in a Tree builder display. If you do, use an image size of 18 by 18 pixels.

Parent topic: Builder help


Library | Support |