rich
Tag treeNode


The component is a child component of the component. It represents nodes in the parent tree. The appearance and functionality of each tree node can be customized.

@author Nick Belaevski


Tag Information
Component type org.richfaces.TreeNode
Tag Name rich:treeNode
Renderer Type org.richfaces.TreeNodeRenderer
Handler Class org.richfaces.view.facelets.TreeNodeHandler

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
dir false java.lang.String Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
expanded false boolean Determines if this tree node is expanded. When EL expression used, it should use request-scoped variable with name defied in tree attribute 'var' which points to current node.
handleClass false java.lang.String Space-separated list of CSS style class(es) to be applied to the tree node handles.
iconClass false java.lang.String Space-separated list of CSS style class(es) to be applied to the tree node icons.
iconCollapsed false java.lang.String The icon for collapsed node
iconExpanded false java.lang.String The icon for expanded node
iconLeaf false java.lang.String The icon for component leaves
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.
immediate false boolean Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.
labelClass false java.lang.String Space-separated list of CSS style class(es) to be applied to the tree node labels.
lang false java.lang.String Code describing the language used in the generated markup for this component.
onbeforetoggle false java.lang.String The client-side script method to be called before the node is toggle.
onclick false java.lang.String Javascript code executed when a pointer button is clicked over this element.
ondblclick false java.lang.String Javascript code executed when a pointer button is double clicked over this element.
onkeydown false java.lang.String Javascript code executed when a key is pressed down over this element.
onkeypress false java.lang.String Javascript code executed when a key is pressed and released over this element.
onkeyup false java.lang.String Javascript code executed when a key is released over this element.
onmousedown false java.lang.String Javascript code executed when a pointer button is pressed down over this element.
onmousemove false java.lang.String Javascript code executed when a pointer button is moved within this element.
onmouseout false java.lang.String Javascript code executed when a pointer button is moved away from this element.
onmouseover false java.lang.String Javascript code executed when a pointer button is moved onto this element.
onmouseup false java.lang.String Javascript code executed when a pointer button is released over this element.
ontoggle false java.lang.String The client-side script method to be called after the node is toggle.
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.
style false java.lang.String CSS style(s) to be applied when this component is rendered.
styleClass false java.lang.String Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
title false java.lang.String Advisory title information about markup elements generated for this component.
toggleListener false javax.el.MethodExpression MethodExpression representing an tree node toggle listener method that will be notified when the tree node is selected. The expression must evaluate to a public method that takes an TreeSelectionChangeEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing where the event came from, but this can be useful in cases where a notification is needed that "some action happened".
type false java.lang.String The type of the this component. More treeNodes could be defined in tree with different types and it is decided about which is used for rendering by nodeType expression of tree component.


Output Generated by Tag Library Documentation Generator.