Tomahawk tag library 1.2.
Tag tree2


Represents "tree data" in an HTML format. Also provides a mechanism for maintaining expand/collapse state of the nodes in the tree. A component that provides an HTML-based tree from data supplied by a backing bean. The tree is highly customizable and allows for fine-grained control over the appearance of each of the nodes depending on their type. Almost any type of JSF component (text, image, checkbox, etc.) can be rendered inside the nodes and there is an option for client-side or server-side toggling of the expand/collapse state. Unless otherwise specified, all attributes accept static values or EL expressions.


Tag Information
Tag Classorg.apache.myfaces.custom.tree2.TreeTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
clientSideTogglefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Perform client-side toggling of expand/collapse state via javascript (default is true.)
varNodeTogglerfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Gets
showNavfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Show the "plus" and "minus" navigation icons (default is true.) Value is ignored if clientSideToggle is true.
showLinesfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Show the connecting lines (default is true.)
showRootNodefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Include the root node when rendering the tree (default is true.)
preserveTogglefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Preserve changes in client-side toggle information between requests (default is true.)
javascriptLocationfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
An alternate location to find javascript resources. If no values is specified, javascript will be loaded from the resources directory using AddResource and ExtensionsFilter.
imageLocationfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
An alternate location to find image resources. If no values is specified, images will be loaded from the resources directory using AddResource and ExtensionsFilter.
styleLocationfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
An alternate location to find stylesheet resources. If no values is specified, stylesheets will be loaded from the resources directory using AddResource and ExtensionsFilter.
valuetruefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Gets the value of the TreeData.
varfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Return the request-scope attribute under which the data object for the current node will be exposed when iterating. This property is not enabled for value binding expressions.
idfalsetruejava.lang.StringGet a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value that indicates whether this component should be rendered. Default value: true.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.