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 3

Configuration:

  • See Configuration example A.
  • Use of checkboxes (checkboxes="true").
  • Only one node is shown exploded (expandMode="single").

<util:imagemap name="im_products">
        <util:imagemapping
                rule="group.open"
                src="app/images/imgBoxOpen.gif"
                width="16"
                height="16"/>
        <util:imagemapping
                rule="group.closed"
                src="app/images/imgBoxClosed.gif"
                width="16"
                height="16"/>
        <util:imagemapping
                rule="single"
                src="app/images/imgItem.gif"
                width="16"
                height="16"/>
</util:imagemap>

<ctrl:tree
        id="prod2"
        name="hardware"
        action="sample202/hardwareBrowse"
        root="true"
        linesAtRoot="true"
        labelProperty="name"
        imageProperty="type"
        imagemap="im_products"
        expandMode="single"
        groupselect="true"
        checkboxes="true"/>

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