Element html.form.field.ChoiceTreeField

html.form.field.BaseEditableField
  |
  +-- html.form.field.BaseVectorValueField
    |
    +-- html.form.field.ChoiceTreeField
Substitution Groups:
html.form.IFormItem

This field represent a checkable tree owning two main purposes.
First purpose is to allow the user, to select one or several children nodes,
in the tree. When this one is unfold.
Second purpose is to allow the user, to select all children nodes of a parent
node when this one is checked


Attributes
optional   String IteratorVar The name of the iterator contextual bean.
This bean is available at render-time only.
Default: $item.

Named Children Elements
mandatory   binding.Expression Label The displayed field label.
optional   binding.Expression Tip A tip (information) associated to the field.
optional   binding.Expression Visible Determines whether this field is visible.
Default: true.
optional   binding.Expression Editable Determines whether this field is editable.
Default: true.
0 - unbounded   html.menu.IMenuItem[] FieldButtons Buttons displayed right next to the form field.
mandatory   binding.Expression Bind The binding to get and set the associated values.
mandatory   binding.Expression RootItems Expression that returns a vector of tree item objects representing the tree root node(s).
mandatory   binding.Expression Text The item displayed text.
Supported contextual beans: $item.
mandatory   binding.Expression IsNode Expression that determines whether an item is a node or a leaf.
Expected return type: boolean.
Supported contextual beans: $item.
mandatory   binding.Expression ItemId Expression that returns an item id.
Note: the id is only required for leaf items (not nodes).
Return type must be compatible with the Bind element type..
Supported contextual beans: $item.
mandatory   binding.Expression Children Expression that returns a vector of objects representing children items.
Note: children items are only requested for node items (not leaves).
The parent node object is accessible with the $item contextual bean.
The item type must be compatible with the RootItems.
mandatory   binding.Expression ExpandLevel Expression that returns the maximum depth until nodes are expanded.
Expected type: int, Integer.
Default: infinite (all expanded).