webuijsf
Tag table2RowGroup


Component that represents a group of table rows.


Tag Information
Tag Classcom.sun.webui.jsf.component.Table2RowGroupTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejava.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.
htmlTemplatefalsefalsejava.lang.String Alternative HTML template to be used by this component.
onDblClickfalsefalsejava.lang.String Scripting code executed when a mouse double click occurs over this component.
tableDataSorterfalsefalsejava.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.
onKeyPressfalsefalsejava.lang.String Scripting code executed when the user presses and releases a key while the component has focus.
renderedfalsefalsejava.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.
sourceDatafalsefalsejava.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.
idfalsetruejava.lang.StringNo Description
onKeyUpfalsefalsejava.lang.String Scripting code executed when the user releases a key while the component has focus.
onMouseUpfalsefalsejava.lang.String Scripting code executed when the user releases a mouse button while the mouse pointer is on the component.
alignfalsefalsejava.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=":"
selectMultipleToggleButtonfalsefalsejava.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.
onClickfalsefalsejava.lang.String Scripting code executed when a mouse click occurs over this component.
groupToggleButtonfalsefalsejava.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.
toolTipfalsefalsejava.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.
onMouseDownfalsefalsejava.lang.String Scripting code executed when the user presses a mouse button while the mouse pointer is on the component.
tableDataFilterfalsefalsejava.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.
rowsfalsefalsejava.lang.String The number of rows per page to be displayed for a paginated table. The default value is 25 per page.
sourceVarfalsefalsejava.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.
valignfalsefalsejava.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.
firstfalsefalsejava.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.
onMouseOutfalsefalsejava.lang.String Scripting code executed when a mouse out movement occurs over this component.
onMouseOverfalsefalsejava.lang.String Scripting code executed when the user moves the mouse pointer into the boundary of this component.
onMouseMovefalsefalsejava.lang.String Scripting code executed when the user moves the mouse pointer while over the component.
emptyDataMsgfalsefalsejava.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."
selectedfalsefalsejava.lang.String Flag indicating that the current row is selected. If the value is set to true, the row will appear highlighted.
collapsedfalsefalsejava.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.
visiblefalsefalsejava.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.
onKeyDownfalsefalsejava.lang.String Scripting code executed when the user presses down on a key while the component has focus.
headerTextfalsefalsejava.lang.String The text to be displayed in the group header.
styleClassesfalsefalsejava.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.

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.