Developing Web 2.0 applications
with JavaServerFaces
and Dreamweaver
>> Just Became Easier
Documentation
Search
  1. Introduction
  2. Getting Started
  3. Tomahawk Concepts
  4. Code View Support
  5. Design View Support
  6. Tag Object Toolbars
  7. Tomahawk Server Behaviors
  8. Tomahawk Property Inspectors
  9. Tomahawk Tag Reference
Tomahawk Tag Library
  t:aliasBean
  t:aliasBeansScope
  t:buffer
  t:captcha
  t:checkbox
  t:collapsiblePanel
  t:column
  t:columns
  t:commandButton
  t:commandLink
  t:commandNavigation
  t:commandNavigation2
  t:commandSortHeader
  t:dataList
  t:dataScroller
  t:dataTable
  t:div
  t:document
  t:documentBody
  t:documentHead
  t:dojoInitializer
  t:fieldset
  t:graphicImage
  t:headerLink
  t:htmlTag
  t:iconProvider
  t:inputCalendar
  t:inputDate
  t:inputFileUpload
  t:inputHidden
  t:inputHtml
  t:inputSecret
  t:inputText
  t:inputTextHelp
  t:inputTextarea
  t:jsValueChangeListener
  t:jsValueSet
  t:jscookMenu
  t:message
  t:messages
  t:navigationMenuItem
  t:navigationMenuItems
  t:newspaperTable
  t:outputLabel
  t:outputText
  t:panelGrid
  t:panelGroup
  t:panelLayout
  t:panelNavigation
  t:panelNavigation2
  t:panelStack
  t:panelTab
  t:panelTabbedPane
  t:popup
  t:radio
  t:saveState
  t:schedule
  t:selectBooleanCheckbox
  t:selectItems
  t:selectManyCheckbox
  t:selectManyListbox
  t:selectManyMenu
  t:selectManyPicklist
  t:selectOneCountry
  t:selectOneLanguage
  t:selectOneListbox
  t:selectOneMenu
  t:selectOneRadio
  t:selectOneRow
  t:stylesheet
  t:subform
  t:swapImage
  t:tabChangeListener
  t:toggleGroup
  t:toggleLink
  t:togglePanel
Selected t:tree
  t:tree2
  t:treeCheckbox
  t:treeColumn
  t:treeSelectionListener
  t:updateActionListener
  t:validateCreditCard
  t:validateEmail
  t:validateEqual
  t:validateRegExpr
  t:xmlTransform
If you like this documentation, please take a look at my book:

9. Tomahawk Tag Reference

Documentation > Tomahawk > Tomahawk Tag Reference > Tomahawk Tag Library > t:tree

t:tree

<p>The <t:tree> tag is a tree data component. This component generates a fully customizable tree in HTML.</p>

Example

<t:tree> </t:tree> 

Tag Attributes

binding Expression
 
Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
columnClasses Text
 
The columnClasses attribute accepts a comma-delimited list of CSS style classes that will be applied to the columns of the table. Style classes for an individual column may also be defined in a space separated list. A style class is applied to a table column as the value for the class attribute of rendered td or th element. The algorithm used to apply the CSS style classes to the table columns is simple. In the table rendering process, style classes are applied to columns one at a time until (a) there are no more columns to display or (b) there are no more style classes to apply. <ul><li>If (a) happens at the same time as (b), the next row in the table is rendered.</li><li>If (a) happens before (b), the remaining style classes are ignored.</li><li>If (b) happens before (a), the remaining columns will not have style classes.</li></ul> ====MERGED==== The columnClasses attribute accepts a comma-delimited list of CSS style classes that will be applied to the columns of the table. Style classes for an individual column may also be defined in a space separated list. A style class is applied to a table column as the value for the class attribute of rendered td or th element. The algorithm used to apply the CSS style classes to the table columns is simple. In the table rendering process, style classes are applied to columns one at a time until (a) there are no more columns to display or (b) there are no more style classes to apply. <ul><li>If (a) happens at the same time as (b), the next row in the table is rendered.</li><li>If (a) happens before (b), the remaining style classes are ignored.</li><li>If (b) happens before (a), the remaining columns will not have style classes.</li></ul>
expandRoot Text
 
The expandRoot attribute expects a boolean value that, when true, causes the root node of the tree to be expanded.
expireListeners Text
 
The expireListeners attribute expects a numeric value that indicates the duration of time in milliseconds that the tree will remain registered as a TreeModelListener since it was last accessed.
footerClass Text
 
The footerClass attribute accepts a space-separated list of CSS style classes (or simply a style class) to be applied to the table footer if one has been defined.
headerClass Text
 
The headerClass attribute accepts a space-separated list of CSS style classes (or a single style class) to be applied to any header generated for this table.
iconChildFirst Text
 
The iconChildFirst attribute defines the icon used to represent the first child node in a branch of the tree.
iconChildLast Text
 
The iconChildLast attribute defines the icon used to represent the last child node in a branch of the tree.
iconChildMiddle Text
 
The iconChildMiddle attribute defines the icon used to represent a middle child node in a branch of the tree.
iconClass Text
 
The iconClass attribute defines the CSS class to be applied to icons in the tree.
iconLine Text
 
The iconLine attribute defines the icon used to represent a line in the tree.
iconNodeClose Text
 
The iconNodeClose attribute defines the icon used to represent a closed node in the tree.
iconNodeCloseFirst Text
 
The iconNodeCloseFirst attribute defines the icon used to represent the first closed node in a branch of the tree.
iconNodeCloseLast Text
 
The iconNodeCloseLast attribute defines the icon used to represent the last closed node in a branch of the tree.
iconNodeCloseMiddle Text
 
The iconNodeCloseMiddle attribute defines the icon used to represent a closed middle node in a branch of the tree.
iconNodeOpen Text
 
The iconNodeOpen attribute defines the icon used to represent an open node in a branch of the tree.
iconNodeOpenFirst Text
 
The iconNodeOpenFirst attribute defines the icon used to represent the first open node in a branch of the tree.
iconNodeOpenLast Text
 
The iconNodeOpenLast attribute defines the icon used to represent the last open node in a branch of the tree.
iconNodeOpenMiddle Text
 
The iconNodeOpenMiddle attribute defines the icon used to represent an open middle node in a branch of the tree.
iconNoline Text
 
The iconNoline attribute defines the icon used to represent the absence of a line in the tree.
id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
layout Text
 
The type of layout markup to use when rendering this group. If the value is "block" the renderer must produce an HTML "div" element. Otherwise HTML "span" element must be produced.
nodeClass Text
 
The nodeClass attribute defines the CSS class to be applied to nodes in the tree.
rendered Text
 
A boolean value that indicates whether this component should be rendered. Default value:true.
rowClasses Text
 
<p>The rowClasses attribute accepts a comma-delimited list of CSS style classes to be applied to the rows of the table. Style classes for an individual row may also be defined in a space separated list. A style class is applied to a table row as the value for the class attribute of rendered tr element. </p>Style classes are applied to rows in the same order that they are defined. For example, if there are two style classes, the first is applied to the first row, the second is applied to the second row, the first is applied to the third row, the second is applied to the fourth row, and so on. The list of styles is looped over from the beginning until there are no more rows to display. ====MERGED==== <p>The rowClasses attribute accepts a comma-delimited list of CSS style classes to be applied to the rows of the table. Style classes for an individual row may also be defined in a space separated list. A style class is applied to a table row as the value for the class attribute of rendered tr element. </p>Style classes are applied to rows in the same order that they are defined. For example, if there are two style classes, the first is applied to the first row, the second is applied to the second row, the first is applied to the third row, the second is applied to the fourth row, and so on. The list of styles is looped over from the beginning until there are no more rows to display.
selectedNodeClass Text
 
The selectedNodeClass attribute defines the CSS class to be applied to selected nodes in the tree.
styleClass Text
 
The styleClass attribute sets the CSS class to apply to this component when it is rendered.
value Text
Required
The value attribute sets the current value for this component.
var Text
 
The var attribute sets the name of a request-scope attribute exposing the data for each iteration over the rows in the underlying data model for this table.