#macro (printList $list) #if($list) #foreach ($node in $list) $node
#end #end #end This page provides advanced options available with the Tree component.

In this example the Page is a TreeListener. The section below will display any events triggered by the tree:

$advancedTree

Selected
#printList($selected)
Deselected
#printList($deselected)
Expanded
#printList($expanded)
Collapsed
#printList($collapsed)

$optionForm