About Guided Tour Online Demo Trial Version Requirements
Documents Configuration examples TagLib Reference Useful Links
Customer Support
Updates Forums Contact Services
Licensing Sales FAQ Buy Online
buy online   |   about us   |   german version  

» TreeControl - Object

This exercise demonstrates the use of the TreeControl . This control element generates a tree whose nodes can be exploded and closed. For this, the programmer merely provides the display data (of the data model) by the implementation of a simple interface.

The TreeControl offers the following features:

  • The lines at the uppermost level can be displayed or hidden. Different images can be stored in an ImageMap for the nodes and the leaves. The assignment of the images to the relevant tree nodes takes place with the help of regular expressions.
  • The control element independently administers all the necessary status data across several Server Roundtrips. This includes, for example, the exploded or closed status of a tree node.
  • Check boxes can be displayed or hidden before the tree entries. When selecting a node at a lower level, all the higher-level nodes are selected automatically.

Only the following steps are required for using the TreeControl:
  1. Selection of the design for the user interface.
  2. Creation of an action class.
  3. Instancing of a TreeControl.
  4. Provision of display data.
  5. Configuration of the tree within the JSP-Page.

to step 1

Impressum | This product includes software developed by the Java Apache Project
ListControl TreeControl TreeListControl TabSetControl Form Tags MenuControl Print version Live demo Configuration