Tomahawk tag library.
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
clientSideTogglefalsefalsejava.lang.StringPerform client-side toggling of expand/collapse state via javascript (default is true.)
varNodeTogglerfalsefalsejava.lang.StringGets
showNavfalsefalsejava.lang.StringShow the "plus" and "minus" navigation icons (default is true.) Value is ignored if clientSideToggle is true.
showLinesfalsefalsejava.lang.StringShow the connecting lines (default is true.)
showRootNodefalsefalsejava.lang.StringInclude the root node when rendering the tree (default is true.)
preserveTogglefalsefalsejava.lang.StringPreserve changes in client-side toggle information between requests (default is true.)
javascriptLocationfalsefalsejava.lang.StringAn alternate location to find javascript resources. If no values is specified, javascript will be loaded from the resources directory using AddResource and ExtensionsFilter.
imageLocationfalsefalsejava.lang.StringAn alternate location to find image resources. If no values is specified, images will be loaded from the resources directory using AddResource and ExtensionsFilter.
styleLocationfalsefalsejava.lang.StringAn alternate location to find stylesheet resources. If no values is specified, stylesheets will be loaded from the resources directory using AddResource and ExtensionsFilter.
valuetruefalsejava.lang.StringGets the value of the TreeData.
varfalsefalsejava.lang.StringReturn 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.
idfalsefalsejava.lang.StringAn identifier for this particular component instance within a component view.

The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view

This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted.

renderedfalsefalsejava.lang.StringA boolean value that indicates whether this component should be rendered. Default value: true.
bindingfalsefalsejava.lang.StringIdentifies 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.