# r

## Tag treeModelAdaptor

- Description:
    The component takes an object which implements the Map or Iterable interfaces. It adds all the object entries to the parent node as child nodes. @author Nick Belaevski

- Component Information
  Info | Value
  --- | ---
  Component Type | `org.richfaces.TreeModelAdaptor`
  Display Name | None
  Handler Class | `org.richfaces.ui.iteration.tree.TreeModelAdaptorHandler`
  Renderer Type | None
  Description | The component takes an object which implements the Map or Iterable interfaces. It adds all the object entries to the parent node as child nodes. @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.
  `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.