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

» Configuration examples TreeControl

Examples: 1 | 2 | 3 | 4 | 5

Configuration example 5

Configuration:

  • At the level of the root node, no opening or closing icon is drawn (linesAtRoot="false").
  • The instance of the TreeControls is sought in the Formbean assigned to the action. Therefore, instead of the name attrribute, the property-attribute is specified.
  • For more settings, see Configuration example A.

<html:form action="/sample201/productBrowse">

<ctrl:tree
        id="prod1"
        property="products"
        root="true"
        linesAtRoot="false"
        labelProperty="name"
        imageProperty="type"
        expandMode="multiple"
        groupselect="true"
        checkboxes="false"/>

</html:form>

Impressum | This product includes software developed by the Java Apache Project
Configuration examples
 ListControl  TreeControl  TreeListControl  TabSetControl  Forms