q
Tag column


The Column component is used to specify a separate column. Child components of the tag are used to render each cell of the current row. Can be specified only as a child tag for the dataTable, treeTable or dropDownField components. Please note that the if you use the Column component in the dropDownField, you cannot use attributes related to filtering, sorting, selection.


Tag Information
Tag Classteamdev.jsf.taglib.TableColumnJspTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
alignfalsejava.lang.StringtruenullThe alignment of the column content.
bindingfalseTableColumnonlynullA value-binding expression that associates the column with a backing bean property.
bodyClassfalsejava.lang.StringtruenullA CSS class name for the column's body.
bodyOnclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the column's body.
bodyOndblclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the column's body.
bodyOnmousedownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user clicks the mouse button over the column's body.
bodyOnmousemovefalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer over the column's body.
bodyOnmouseoutfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer away from the column's body.
bodyOnmouseoverfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer onto the column's body.
bodyOnmouseupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases the mouse button over the column's body.
bodyStylefalsejava.lang.StringtruenullA style for the column's body.
filterCellClassfalsejava.lang.StringtruenullA CSS class name for the cell in the filter row (row that contains the filter components).
filterCellStylefalsejava.lang.StringtruenullA style for the cell in the filter row (row that contains the filter components).
filterExpressionfalsejava.lang.StringonlynullSpecifies the value by which the data is filtered. Is used to provide filtering for the column.
filterKindfalseFilterKindtrue"comboBox"The type of filter component for filtering the data.
Available values are:
"searchField" — is displayed as a text field
"comboBox" — is displayed as a combo box that contains all the unique values returned by the filterExpression attribute for that column
"dropDownField" — is displayed as a drop-down field which, like "comboBox", displays all the unique values and also allows the user to enter text manually
filterValuefalseTextFilterCriterion,
EmptyRecordsCriterion,
NonEmptyRecordsCriterion
onlynullThe current filter value.
filterValuesfalsejava.util.CollectiononlynullThe filter values that appear in the "comboBox" or "dropDownField" filter components instead of displaying all of the possible values.
footerClassfalsejava.lang.StringtruenullA CSS class name for the column's footer.
footerOnclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the column's footer.
footerOndblclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the column's footer.
footerOnmousedownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user clicks the mouse button over the column's footer.
footerOnmousemovefalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer over the column's footer.
footerOnmouseoutfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer away from the column's footer.
footerOnmouseoverfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer onto the column's footer.
footerOnmouseupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases the mouse button over the column's footer.
footerStylefalsejava.lang.StringtruenullA style for the column's footer.
headerClassfalsejava.lang.StringtruenullA CSS class name for the column's header.
headerOnclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the column's header.
headerOndblclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the column's header.
headerOnmousedownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user clicks over the column's header with either mouse button.
headerOnmousemovefalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer over the column's header.
headerOnmouseoutfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer away from the column's header.
headerOnmouseoverfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer onto the column's header.
headerOnmouseupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases the mouse button over the column's header.
headerStylefalsejava.lang.StringtruenullA style for the column's header.
idfalsejava.lang.StringfalsenullThe component identifier.
minResizingWidthfalsejava.lang.StringtruenullApplicable only when column resizing is enabled for a table. Specifies the minimum width that this column can take when the user resizes this column. It can be specified using any CSS units except percent.
onclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the column.
ondblclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the column.
onmousedownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user clicks over the column with either mouse button.
onmousemovefalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer over the column.
onmouseoutfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer away from the column.
onmouseoverfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer onto the column.
onmouseupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases the mouse button over the column.
renderedfalsebooleantruetrueA flag that indicates whether or not the column is visible.
resizeablefalsebooleantruenoneApplicable only when column resizing is enabled for a table. This attribute can be used to disable manual resizing for a particular column.
sortingComparatorfalsejava.util.ComparatoronlynullIs used to compare the values provided by the "sortingExpression" attribute.
sortingExpressionfalsejava.lang.StringonlynullDefines the row's value that is used during sorting. Is used to make the column sortable.
stylefalsejava.lang.StringtruenullA style for the entire column.
styleClassfalsejava.lang.StringtruenullA CSS class name for entire column.
valignfalsejava.lang.StringtruenullThe vertical alignment of the column content.
widthfalsejava.lang.StringtruenullThe width of the column. Can be specified in any units (px, mm, em, etc.).

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.