|
9. Tomahawk Tag Reference
Documentation
>
Tomahawk
>
Tomahawk Tag Reference
>
Tomahawk Tag Library
> t:dataScroller
|
t:dataScroller |
|
<p>
The <t:dataScroller> tag adds scrolling navigation to data components, such as
<a href="tomahawk-dataTable.html"><em><a href="tomahawk-dataTable.html"><strong><t:dataTable> </strong></a></em></a>
and
<a href="tomahawk-dataList.html"><em><a href="tomahawk-dataList.html"><strong><t:dataList> </strong></a></em></a>
.
</p>
Example
<t:dataScroller> </t:dataScroller>
|
Tag Attributes
| actionListener |
Text |
| |
| The actionListener attribute accepts a method-binding expression for a backing bean action listener method that will be notified when this component is activated by the user. An action listener method must be a public method with an javax.faces.event.ActionEvent parameter and a void return type.
|
| binding |
Expression |
| |
| The value-binding expression linking this component tag to a backing bean property.
|
| colspan |
Text |
| |
| standard html colspan attribute for table cell
|
| dir |
Text |
| |
| HTML:The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
|
| disableFacetLinksIfFirstPage |
Text |
| |
| If the dataScroller is on the first page (index is at 1), links for
first, prev and fastprev are disabled. Default is false.
|
| disableFacetLinksIfLastPage |
Text |
| |
| If the dataScroller is on the last page (index is at pagecount), links for
last, next and fastnext are disabled. Default is false.
|
| displayValueOnly |
Text |
| |
| If true, renders only the value of the component,
but no input widget. Default is false.
|
| displayValueOnlyStyle |
Text |
| |
| Style used when displayValueOnly is true.
|
| displayValueOnlyStyleClass |
Text |
| |
| Style class used when displayValueOnly is true.
|
| displayedRowsCountVar |
Text |
| |
| The displayedRowsCountVar attribute
|
| enabledOnUserRole |
Text |
| |
| The enabledOnUserRole attribute determines if this component will be rendered normally or not depending on the user's roles.
|
| fastStep |
Text |
| |
| The fastStep attribute defines how many pages to traverse forward or backwards for fastforward or fastrewind.
|
| fastfStyleClass |
Text |
| |
| style-class for data-scroller fast-forward-element
|
| fastrStyleClass |
Text |
| |
| style-class for data-scroller fast-rewind-element
|
| firstRowIndexVar |
Text |
| |
| The firstRowIndexVar attribute sets a name that can be used to reference the firstRowIndexVar parameter. The first row index represents the DISPLAYED UI data component's first row. The firstRowIndexVar parameter is set during request scope.
|
| firstStyleClass |
Text |
| |
| style-class for data-scroller first-element
|
| for |
Text |
| |
| The for attribute is the id of the component this component extends or is part of. This attribute is required by some tags.
|
| forceId |
Text |
| |
| The forceId attribute expects a boolean value, that when set to true, forces the tag to render its ID exactly as specified in the ID attribute. This allows you to apply CSS styles to the tag and to reference it in JavaScript by ID, which is typically not possible using the default JSF component ID naming system. This attribute is false by default.
|
| forceIdIndex |
Text |
| |
| The forceIdIndex attribute effects the component ID name when this component is rendered at runtime. It expects a boolean value that, when true, causes the component to display an index number in its ID value if the component is in a list. It has a default value of true.
|
| id |
Text |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container.
|
| lang |
Text |
| |
| HTML:The base language of this document.
|
| lastRowIndexVar |
Text |
| |
| The lastRowIndexVar attribute sets a name that can be used to reference the lastRowIndexVar parameter. The last row index represents the DISPLAYED UI data component's last row. The lastRowIndexVar parameter is set during request scope.
|
| lastStyleClass |
Text |
| |
| style-class for data-scroller last-element
|
| layout |
Text |
| |
| The layout this scroller should render with. Default is 'table',
'list' is implemented as well. Additionally you can use
'singleList' - then the data-scroller will render a list, but
not the paginator - same with the value 'singleTable'.
|
| nextStyleClass |
Text |
| |
| style-class for dataScroller next-element
|
| onclick |
Text |
| |
| HTML:Script to be invoked when the element is clicked.
|
| ondblclick |
Text |
| |
| HTML:Script to be invoked when the element is double-clicked.
|
| pageCountVar |
Text |
| |
| The pageCountVar attribute sets a name that can be used to reference the pageCountVar parameter. The pageCount represents the number of pages that the UI data component has. The pageCountVar parameter is set during request scope.
|
| pageIndexVar |
Text |
| |
| The pageIndexVar attribute sets a name that can be used to reference the pageIndexVar parameter. The pageIndexVar represents the current page that is DISPLAYED of the UI data component. The pageCountVar parameter is set during request scope.
|
| paginator |
Text |
| |
| The paginator attribute renders the paginator is set to true.
|
| paginatorActiveColumnClass |
Text |
| |
| The paginatorActiveColumnClass attribute sets the CSS style class to apply to the current page indicator.
|
| paginatorActiveColumnStyle |
Text |
| |
| The paginatorActiveColumnStyle attribute sets the CSS style to apply to the current page indicator.
|
| paginatorColumnClass |
Text |
| |
| The paginatorColumnClass attribute defines the CSS class applied to the paginator for this component.
|
| paginatorColumnStyle |
Text |
| |
| The paginatorColumnStyle attribute defines the CSS style applied to the paginator for this component.
|
| paginatorMaxPages |
Text |
| |
| The paginatorMaxPages attribute sets the maximum number of pages to be selectable within the paginator.
|
| paginatorRenderLinkForActive |
Text |
| |
| 'true' - render a link for the paginator's column with
pageIndex = currentPageIndex. Default-value is 'true'.
|
| paginatorTableClass |
Text |
| |
| The paginatorTableClass attribute defines the CSS class applied to the table for the paginator of this component.
|
| paginatorTableStyle |
Text |
| |
| The paginatorTableStyle attribute defines the CSS style applied to the table for the paginator of this component.
|
| previousStyleClass |
Text |
| |
| style-class for data-scroller previous-element
|
| renderFacetLinksIfFirstPage |
Text |
| |
| If the dataScroller is on the first page (index is at 1), links for
first, prev and fastprev are rendered. Default is true.
|
| renderFacetLinksIfLastPage |
Text |
| |
| If the dataScroller is on the last page (index is at pagecount), links for
last, next and fastnext are rendered. Default is true.
|
| renderFacetsIfSinglePage |
Text |
| |
| The renderFacetsIfSinglePage attribute expects a boolean value that, when true, causes the facets of this component to be rendered when the data contained by this component does not exceed one page. The default value is true.
|
| rendered |
Text |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
|
| rowsCountVar |
Text |
| |
| The rowsCountVar attribute sets a name that can be used to reference the rowsCountVar parameter. The row count represents the number of rows within the UI data component. The rowsCountVar parameter is set during request scope.
|
| 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 |
| |
| HTML:An advisory title for this element. Often used by the user agent as a tooltip.
|
| visibleOnUserRole |
Text |
| |
| The visibleOnUserRole attribute determines if this component will be visible or not depending on the user's roles.
|
|
|
|
|
|