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
Selected 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
  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:columns

t:columns

<p>The <t:columns> tag allows for a data table to have dynamic columns.</p>

Example

<t:columns> </t:columns> 

Tag Attributes

binding Expression
 
The value-binding expression linking this component tag to a backing bean property.
colspan Text
 
This attribute specifies the colspan attribute for the cell
columnId Text
 
The columnId which will be used as id for the column header. Notice:As the rowId on t:datatable this will not add any namespace to the id. The id will be rendered exactly as you provide it.
defaultSorted Text
 
This attribute instructs your application to use a particular column for the default sort order. It is only effective the sortable attribute has a boolean value of true.
dir Text
 
The dir attribute is a standard HTML attribute that overrides the default text directionality for this component. The values accepted for this component are "LTR" (left-to-right) and "RTL" (right-to-left).
first Text
 
The index of the first row to be displayed, where 0 is the first row.
footercolspan Text
 
footerdir Text
 
The footerdir attribute defines the direction of the footer text for this tag. It expects either the value 'ltr' (left-to-right) or 'rtl' (right-to-left).
footerlang Text
 
The footerlang attribute defines the language used by the footer of this tag.
footeronclick Text
 
The footeronclick attribute defines the JavaScript to execute when the user clicks on the footer of this tag.
footerondblclick Text
 
The footerondblclick attribute defines the JavaScript to execute when the user double-clicks on the footer of this tag.
footeronkeydown Text
 
The footeronkeydown attribute defines the JavaScript to execute when the user presses a key down while the focus is on the footer of this tag.
footeronkeypress Text
 
The footeronkeypress attribute defines the JavaScript to execute when the user presses a key while the focus is on the footer of this tag.
footeronkeyup Text
 
The footeronkeyup attribute defines the JavaScript to execute when the user releases a key while the focus is on the footer of this tag.
footeronmousedown Text
 
The footeronmousedown attribute defines the JavaScript to execute when the user clicks the mouse button while the focus is on the footer of this tag.
footeronmousemove Text
 
The footeronmousemove attribute defines the JavaScript to execute when the user moves the mouse while the pointer is on the footer of this tag.
footeronmouseout Text
 
The footeronmouseout attribute defines the JavaScript to execute when the user moves the mouse pointer away from the footer of this tag.
footeronmouseover Text
 
The footeronmouseover attribute defines the JavaScript to execute when the user moves the mouse pointer over the footer of this tag.
footeronmouseup Text
 
The footeronmouseup attribute defines the JavaScript to execute when the user releases the mouse button over the footer of this tag.
footerstyle Text
 
The footerstyle attribute defines the CSS style to be applied to the footer of this tag.
footerstyleClass Text
 
The footerstyleClass attribute defines the CSS class to be applied to the footer of this tag.
footertitle Text
 
The footertitle attribute defines the tooltip text to be displayed when the mouse pointer is over the footer of this tag.
groupBy Text
 
The groupBy attribute instructs a dataTable component to display its data grouped by the specified column.
groupByValue Text
 
Optional - Allows you configure where to get the value to check for the group change condition. Default:all children of the column cell will be checked
headercolspan Text
 
headerdir Text
 
The headerdir attribute defines the direction of the header text for this tag. It expects either the value 'ltr' (left-to-right) or 'rtl' (right-to-left).
headerlang Text
 
The headerlang attribute defines the language used by the header of this tag.
headeronclick Text
 
The headeronclick attribute defines the JavaScript to execute when the user clicks on the header of this tag.
headerondblclick Text
 
The headerondblclick attribute defines the JavaScript to execute when the user double-clicks on the header of this tag.
headeronkeydown Text
 
The headeronkeydown attribute defines the JavaScript to execute when the user presses a key down while the focus is on the header of this tag.
headeronkeypress Text
 
The headeronkeypress attribute defines the JavaScript to execute when the user presses a key while the focus is on the header of this tag.
headeronkeyup Text
 
The headeronkeyup attribute defines the JavaScript to execute when the user releases a key while the focus is on the header of this tag.
headeronmousedown Text
 
The headeronmousedown attribute defines the JavaScript to execute when the user clicks the mouse button while the focus is on the header of this tag.
headeronmousemove Text
 
The headeronmousemove attribute defines the JavaScript to execute when the user moves the mouse while the pointer is on the header of this tag.
headeronmouseout Text
 
The headeronmouseout attribute defines the JavaScript to execute when the user moves the mouse pointer away from the header of this tag.
headeronmouseover Text
 
The headeronmouseover attribute defines the JavaScript to execute when the user moves the mouse pointer over the header of this tag.
headeronmouseup Text
 
The headeronmouseup attribute defines the JavaScript to execute when the user releases the mouse button over the header of this tag.
headerstyle Text
 
The headerstyle attribute defines the CSS style to be applied to the header of this tag.
headerstyleClass Text
 
The headerstyleClass attribute defines the CSS class to be applied to the header of this tag.
headertitle Text
 
The headertitle attribute defines the tooltip text to be displayed when the mouse pointer is over the header of this tag.
id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
lang Text
 
The lang attribute is a standard HTML attribute that sets the code describing the language to be used in the markup generated by this component.
onclick Text
 
The onclick attribute sets the JavaScript code to execute when the mouse pointer is clicked over this element.
ondblclick Text
 
The ondblclick attribute sets the JavaScript code to execute when the mouse pointer is double-clicked over this element.
onkeydown Text
 
The onkeydown attribute sets the JavaScript code to execute when a key is pressed down over this element.
onkeypress Text
 
The onkeypress attribute sets the JavaScript code to execute when a key is pressed and released over this element.
onkeyup Text
 
The onkeyup attribute sets the JavaScript code to execute when a key is released over this element.
onmousedown Text
 
The onmousedown attribute sets the JavaScript code to execute when the mouse pointer is pressed down over this element.
onmousemove Text
 
The onmousemove attribute sets the JavaScript code to execute when the mouse pointer is moved within this element.
onmouseout Text
 
The onmouseout attribute sets the JavaScript code to execute when the mouse pointer is moved away from this element.
onmouseover Text
 
The onmouseover attribute sets the JavaScript code to execute when the mouse pointer is moved onto this element.
onmouseup Text
 
The onmouseup attribute sets the JavaScript code to execute when the mouse button is released over this element.
rendered Text
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
rows Text
 
The number of rows to be displayed. Specify zero for all remaining rows in the table.
sortPropertyName Text
 
The sortPropertyName attribute specifies the name of a property by which the column will be sorted.
sortable Text
 
The sortable attribute expects a boolean value that, when true, enables column sorting for this component.
style Text
 
The style attribute sets the CSS style definition to be applied to this component when it is rendered.
styleClass Text
 
The styleClass attribute sets the CSS class to apply to this component when it is rendered.
title Text
 
The title attribute is a standard HTML attribute that sets the tooltip text to display for the rendered component.
value Text
 
The value attribute sets the current value for this component.
var Text
Required
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.
width Text
 
The width attribute specifies the width of this component.