t
Tag tree2


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
valuetruefalsejava.lang.StringNo Description
varfalsefalsejava.lang.StringNo Description
varNodeTogglerfalsefalsejava.lang.StringNo Description
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.)
clientSideTogglefalsefalsejava.lang.StringPerform client-side toggling of expand/collapse state via javascript (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.
idfalsefalsejava.lang.StringThe developer-assigned ID of this component. The ID must be unique within the scope of the tag's enclosing naming container (e.g. h:form or f:subview). This value must be a static value.
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.
renderedfalsefalsejava.lang.StringA boolean value that indicates whether this component should be rendered. Default value: true.

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.