tc
Tag tree


A tree with classical look. Usually used with icons and junction lines to open folder, etc.

UIComponentClass: org.apache.myfaces.tobago.component.UITree

RendererType: Tree



Tag Information
Tag Classorg.apache.myfaces.tobago.internal.taglib.TreeTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The value binding expression linking this component to a property in a backing bean.

Warning: For the tobago extension library tx the binding differs from JSP and Facelets:

  • JSP: The component is the inner main control (e. g. UIInput).
  • Facelets: The component is the outer UIPanel.

Type: javax.faces.component.UIComponent
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
Type: java.lang.String
markupfalsefalsejavax.el.ValueExpression
(must evaluate to org.apache.myfaces.tobago.context.Markup)
Indicate markup of this component. The allowed markups can be defined or overridden in the theme. The value 'none' should not be used any longer. Just leave the attribute empty, or use a NULL pointer.
Type: org.apache.myfaces.tobago.context.Markup
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
Type: boolean
Default: true
selectablefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Flag indicating whether or not this component should be render selectable items. Possible values are:
  • none : not selectable
  • multi : a multi section tree is rendered
  • single : a single section tree is rendered
  • multiLeafOnly : a multi section tree is rendered, only leaf's are selectable
  • singleLeafOnly : a single section tree is rendered, only leaf's are selectable

Type: java.lang.String
Default: multi
Allowed Values: [none, multi, single, multiLeafOnly, singleLeafOnly]
showRootfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Only applicable in the case that the data model is a tree. This flag indicates that the root node should be displayed. Often in tree structures the root node is special and should not be displayed.
Type: boolean
Default: false
showRootJunctionfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Only applicable in the case that the data model is a tree. This flag indicates that the root node should be displayed with an open-close-switch.
Type: boolean
Default: false
statefalsefalsejavax.el.ValueExpression
(must evaluate to org.apache.myfaces.tobago.model.TreeState)
ValueBindingExpression pointing to a object to save the component's state.
Type: org.apache.myfaces.tobago.model.TreeState
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The current value of this component.
Type: java.lang.Object
vartruefalsejava.lang.StringName of a request-scope attribute under which the model data for the row selected by the current value of the "rowIndex" property (i.e. also the current value of the "rowData" property) will be exposed.
Type: java.lang.String

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.