# rich

## Tag treeModelRecursiveAdaptor

- Description:

    The component iterates through recursive collections in order to populate a tree with hierarchical nodes, such as for a file system with multiple levels of directories and files.

    @author Nick Belaevski

- Component Information
  Info | Value
  --- | ---
  Component Type | `org.richfaces.TreeModelRecursiveAdaptor`
  Handler Class | `org.richfaces.view.facelets.TreeModelRecursiveAdaptorHandler`
  Renderer Type | None
  Description | The component iterates through recursive collections in order to populate a tree with hierarchical nodes, such as for a file system with multiple levels of directories and files. @author Nick Belaevski

- Attributes
  Name | Required | Type | Description
  --- | --- | --- | ---
  `binding` | `false` | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The value binding expression used to wire up this component to a component property of a JavaBean class
  `id` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
  `leaf` | `false` | `javax.el.ValueExpression` (must evaluate to `boolean`) | Determines if tree node generated by model is leaf. Should contain EL expression which uses request-scoped variable with name defied in tree attribute 'var'.
  `nodes` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | EL expression pointing to nodes which should tree model iterate over. Implementation of java.util.Map or java.util.List. When map is provided, map keys are used as keys for the model, otherwise, keys are generated. (In case of treeModelRecursiveAdaptor, nodes are defined recursively, starting with roots and continuing with inner nodes. EL expression should then use request-scoped variable with name defied in tree attribute 'var' to point to inner nodes recursively and return null or empty map/collection for leafs.)
  `rendered` | `false` | `javax.el.ValueExpression` (must evaluate to `boolean`) | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
  `roots` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | EL expression pointing to top-level nodes (roots) which should tree model iterate over. Implementation of java.util.Map or java.util.List. When map is provided, map keys are used as keys for the model, otherwise, keys are generated.
  `rowKeyConverter` | `false` | `javax.el.ValueExpression` (must evaluate to `javax.faces.convert.Converter`) | Converter for a row key object

Output generated by Vdldoc View Declaration Language Documentation Generator.