Tag treeModelAdaptor

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

Tag Information
Component type org.richfaces.TreeModelAdaptor
Tag Name rich:treeModelAdaptor
Renderer Type None
Handler Class org.richfaces.view.facelets.TreeModelAdaptorHandler

Name Required Type Description
binding false javax.faces.component.UIComponent The value binding expression used to wire up this component to a component property of a JavaBean class
id false 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 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 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 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.faces.convert.Converter Converter for a row key object

Output Generated by Tag Library Documentation Generator.