Tobago Components
Tag tree


**** @deprecated. Will be removed in a future version ****

Renders a tree view.

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

RendererType: TreeOld



Tag Information
Tag Classorg.apache.myfaces.tobago.taglib.component.TreeOldTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
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
bindingfalsetruejava.lang.StringThe 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.
renderedfalsetruejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
Type: java.lang.Boolean
Default: true
valuefalsetruejava.lang.StringA javax.swing.tree.TreeNode object to use as rootNode in the tree.
Type: javax.swing.tree.TreeNode
statefalsetruejava.lang.StringValueBindingExpression pointing to a object to save the component's state.
Type: java.lang.Object
idReferencefalsetruejava.lang.StringBean property reference to fetch the id for the treeNode's.
Example:
a idReference="userObject.id" try's to invoke <UITreeNode>.getUserObject().getId() to fetch the id.
Type: java.lang.String
actionListenerfalsetruejava.lang.StringMethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void.
Type: javax.faces.el.MethodBinding
nameReferencefalsetruejava.lang.StringBean property reference to fetch the label for the treeNode's.
Example:
a idReference="userObject.name" try's to invoke <UITreeNode>.getUserObject().getName() to fetch the label.
Type: java.lang.String
requiredfalsetruejava.lang.StringFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.
Type: java.lang.Boolean
tabIndexfalsetruejava.lang.StringControls the navigation of the focus through the input controls on a page with the Tab-Key. The navigation starts from the element with the lowest tabIndex value to the element with the highest value. Elements that have identical tabIndex values should be navigated in the order they appear in the character stream Elements that are disabled or with a negative tabIndex do not participate in the tabbing order.
Type: java.lang.String
disabledReferencefalsetruejava.lang.StringBean property reference to fetch the disabled state for the treeNode's.
Example:
a disabledReference="userObject.disabled" try's to invoke <UITreeNode>.getUserObject().getDisabled() to fetch the state.
Type: java.lang.String
modefalsetruejava.lang.StringDisplay option: Normal tree or menu.
Type: java.lang.String
Default: tree
Allowed values: [tree, menu]
mutablefalsetruejava.lang.String
Type: java.lang.Boolean
Default: false
selectablefalsetruejava.lang.StringFlag indicating whether or not this component should be render selectable items. Possible values are:
  • multi : a multisection tree is rendered
  • single : a singlesection tree is rendered
  • multiLeafOnly : a multisection tree is rendered, only Leaf's are selectable
  • singleLeafOnly : a singlesection tree is rendered, only Leaf's are selectable
For any other value or if this attribute is omited the items are not selectable.
Type: java.lang.String
Default: off
Allowed values: [multi, single, multiLeafOnly, singleLeafOnly, off]
showIconsfalsetruejava.lang.String
Type: java.lang.Boolean
Default: false
showJunctionsfalsetruejava.lang.String
Type: java.lang.Boolean
Default: false
showRootfalsetruejava.lang.String
Type: java.lang.Boolean
Default: false
showRootJunctionfalsetruejava.lang.String
Type: java.lang.Boolean
Default: false
tipReferencefalsetruejava.lang.Stringreference to tip value.
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.