Attributes |
Name | Required | Request-time | Type | Description |
binding | false | false | java.lang.String |
A ValueExpression that resolves to the UIComponent that corresponds
to this tag. This attribute allows the Java bean that contains the UIComponent
to manipulate the UIComponent, its properties, and its children.
|
htmlTemplate | false | false | java.lang.String | Alternative HTML template to be used by this component.
|
onDblClick | false | false | java.lang.String | Scripting code executed when a mouse double click
occurs over this component.
|
tableDataSorter | false | false | java.lang.String | The tableDataSorter attribute is used to define sort critera and
the mechanism for sorting the contents of a TableDataProvider. The value of the
tableDataSorter attribute must be a JavaServer Faces EL expression
that resolves to a backing bean of type
com.sun.data.provider.TableDataSorter .
|
onKeyPress | false | false | java.lang.String | Scripting code executed when the user presses and releases a key while
the component has focus.
|
rendered | false | false | java.lang.String | Use the rendered attribute to indicate whether the HTML code for the
component should be included in the rendered HTML page. If set to false,
the rendered HTML page does not include the HTML for the component. If
the component is not rendered, it is also not processed on any subsequent
form submission.
|
sourceData | false | false | java.lang.String | The sourceData attribute is used to specify the data source to
populate the table. The value of the sourceData attribute may be
a JavaServer Faces EL expression that resolves to a backing bean of type
com.sun.data.provider.TableDataProvider .
The sourceData property is referenced during multiple phases of the JavaServer
Faces life cycle while iterating over the rows. The object that is bound
to this attribute should be cached so that the object is not created more
often than needed.
|
id | false | true | java.lang.String | No Description |
onKeyUp | false | false | java.lang.String | Scripting code executed when the user releases a key while the
component has focus.
|
onMouseUp | false | false | java.lang.String | Scripting code executed when the user releases a mouse button while
the mouse pointer is on the component.
|
align | false | false | java.lang.String | Use the align attribute to specify the horizontal alignment for
the content of each cell in the row. Valid values are left ,
center , right , justify , and
char . The default alignment is left . Setting the
align attribute to char causes the cell's contents to be aligned
on the character that you specify with the char attribute. For
example, to align cell contents on colons, set align="char" and
char=":"
|
selectMultipleToggleButton | false | false | java.lang.String | Use the selectMultipleToggleButton attribute to display a button
in the group header to allow users to select all rows of the group at once.
The button toggles a column of checkboxes using the id that is given to the
selectId attribute of the webuijsf:tableColumn
and webuijsf:table2Column tags.
|
onClick | false | false | java.lang.String | Scripting code executed when a mouse click
occurs over this component.
|
groupToggleButton | false | false | java.lang.String | Use the groupToggleButton attribute to display a button in the
group header to allow users to collapse and expand the group of rows.
|
toolTip | false | false | java.lang.String | Sets the value of the title attribute for the HTML element.
The specified text will display as a tooltip if the mouse cursor hovers
over the HTML element.
|
onMouseDown | false | false | java.lang.String | Scripting code executed when the user presses a mouse button while the
mouse pointer is on the component.
|
tableDataFilter | false | false | java.lang.String | The tableDataFilter attribute is used to define filter critera and
mechanism for filtering the contents of a TableDataProvider. The value of the
tableDataFilter attribute must be a JavaServer Faces EL expression
that resolves to a backing bean of type
com.sun.data.provider.TableDataFilter .
|
rows | false | false | java.lang.String | The number of rows per page to be displayed for a paginated table. The
default value is 25 per page.
|
sourceVar | false | false | java.lang.String | Use the sourceVar attribute to specify the name of the
request-scope attribute under which model data for the current row will be
exposed when iterating. During iterative processing over the rows of data in
the data provider, the TableDataProvider for the current row is exposed as a
request attribute under the key specified by this property. Note: This
value must be unique for each table in the JSP page.
|
valign | false | false | java.lang.String | Use the valign attribute to specify the vertical alignment for the
content of each cell in the column. Valid values are top ,
middle , bottom , and baseline . The
default vertical alignment is middle . Setting the
valign attribute to baseline causes the first line of
each cell's content to be aligned on the text baseline, the invisible line on
which text characters rest.
|
first | false | false | java.lang.String | Use the first attribute to specify which row should be the first
to be displayed. This value is used only when the table is paginated. By
default, the first row (0) is displayed first. The value of this property is
maintained as part of the table's state, and the value is updated when the user
clicks on buttons to page through the table.
|
onMouseOut | false | false | java.lang.String | Scripting code executed when a mouse out movement
occurs over this component.
|
onMouseOver | false | false | java.lang.String | Scripting code executed when the user moves the mouse pointer into
the boundary of this component.
|
onMouseMove | false | false | java.lang.String | Scripting code executed when the user moves the mouse pointer while
over the component.
|
emptyDataMsg | false | false | java.lang.String | The text to be displayed when the table does not contain data. The text is
displayed left-aligned in a single row that contains one cell that spans all
columns. The emptyDataMsg text might be something similar to "No
items found." If users can add items to the table, the message might include
instructions, such as "This table contains no files. To add a file to monitor,
click the New button."
|
selected | false | false | java.lang.String | Flag indicating that the current row is selected. If the value is set to true,
the row will appear highlighted.
|
collapsed | false | false | java.lang.String | Use the collapsed attribute to initially render the group as collapsed, so that
the data rows are hidden and only the header row is visible. The default is to
show the group expanded.
|
visible | false | false | java.lang.String | Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. If set to false, the
HTML code for the component is present in the page, but the component
is hidden with style attributes. By default, visible is set to true, so
HTML for the component HTML is included and visible to the user. If the
component is not visible, it can still be processed on subsequent form
submissions because the HTML is present.
|
onKeyDown | false | false | java.lang.String | Scripting code executed when the user presses down on a key while the
component has focus.
|
headerText | false | false | java.lang.String | The text to be displayed in the group header.
|
styleClasses | false | false | java.lang.String | Use the styleClasses attribute to specify a list of CSS style
classes to apply to the rows of the group. You can apply all the styles in the
list to each row by separating the class names with commas. Each row looks the
same when commas are used to delimit the styles. You can apply alternating
styles to individual rows by separating the style class names with spaces. You
can create a pattern of shading alternate rows, for example, to improve
readability of the table. For example, if the list has two elements, the first
style class in the list is applied to the first row, the second class to the
second row, the first class to the third row, the second class to the fourth
row, etc. The tableRowGroup component iterates through the list of styles and
repeats from the beginning until a style is applied to each row.
|