rich
Tag treeModelRecursiveAdaptor


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


Tag Information
Component type org.richfaces.TreeModelRecursiveAdaptor
Tag Name rich:treeModelRecursiveAdaptor
Renderer Type None
Handler Class org.richfaces.view.facelets.TreeModelRecursiveAdaptorHandler

Attributes
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.
roots false 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.faces.convert.Converter Converter for a row key object


Output Generated by Tag Library Documentation Generator.