Tomahawk tag library 2.0.
Tag dataScroller


Scroller for UIData components eg. dataTable Must be nested inside footer facet of dataTable OR for attribute must be given so that corresponding uiData can be found. Unless otherwise specified, all attributes accept static values or EL expressions. A component which works together with a UIData component to allow a user to view a large list of data one "page" at a time, and navigate between pages.


Tag Information
Tag Classorg.apache.myfaces.custom.datascroller.HtmlDataScrollerTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
layoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
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'.
colspanfalsefalsejavax.el.ValueExpression
(must evaluate to int)
standard html colspan attribute for table cell
onclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the element is clicked.
ondblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the element is double-clicked.
actionfalsefalsejavax.el.MethodExpression
(signature must match java.lang.Object myMethod( ))
No Description
actionListenerfalsefalsejavax.el.MethodExpression
(signature must match void myMethod( javax.faces.event.ActionEvent ))
MethodBinding pointing at method acception an ActionEvent with return type void.
forfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The JSF id of a UIData component that this scroller will affect. If this attribute is not present then the datascroller must be a child of a UIData component.
fastStepfalsefalsejavax.el.ValueExpression
(must evaluate to int)
step (pages) used for fastforward and fastrewind
pageIndexVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A parameter name, under which the actual page index is set in request scope similar to the var parameter.
pageCountVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A parameter name, under which the actual page count is set in request scope similar to the var parameter.
rowsCountVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A parameter name, under which the actual rows count is set in request scope similar to the var parameter.
displayedRowsCountVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A parameter name, under which the actual displayed rows count is set in request scope similar to the var parameter.
firstRowIndexVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A parameter name, under which the actual first displayed row index is set in request scope similar to the var parameter.
lastRowIndexVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A parameter name, under which the actual last displayed row index is set in request scope similar to the var parameter.
paginatorfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If set true, then the paginator gets rendered
paginatorMaxPagesfalsefalsejavax.el.ValueExpression
(must evaluate to int)
The maximum amount of pages to be displayed in the paginator.
paginatorTableClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
styleclass for pagingator
paginatorTableStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
style for pagingator
paginatorColumnClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
styleClass for paginator's column
paginatorColumnStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
style for paginator's column
paginatorActiveColumnClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
styleClass for paginator's column with pageIndex = currentPageIndex
paginatorRenderLinkForActivefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
'true' - render a link for the paginator's column with pageIndex = currentPageIndex. Default-value is 'true'.
firstStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
style-class for data-scroller first-element
lastStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
style-class for data-scroller last-element
previousStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
style-class for data-scroller previous-element
nextStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
style-class for dataScroller next-element
fastfStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
style-class for data-scroller fast-forward-element
fastrStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
style-class for data-scroller fast-rewind-element
paginatorActiveColumnStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
style for paginator's column with pageIndex = currentPageIndex
renderFacetsIfSinglePagefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If set to false, the facets aren't renderd if all the lines are contained on a single page. Default is true.
immediatefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
True means that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase.
disableFacetLinksIfFirstPagefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If the dataScroller is on the first page (index is at 1), links for first, prev and fastprev are disabled. Default is false.
disableFacetLinksIfLastPagefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If the dataScroller is on the last page (index is at pagecount), links for last, next and fastnext are disabled. Default is false.
renderFacetLinksIfFirstPagefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If the dataScroller is on the first page (index is at 1), links for first, prev and fastprev are rendered. Default is true.
renderFacetLinksIfLastPagefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If the dataScroller is on the last page (index is at pagecount), links for last, next and fastnext are rendered. Default is true.
displayValueOnlyfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
If true, renders only the value of the component, but no input widget. Default is false.
displayValueOnlyStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Style used when displayValueOnly is true.
displayValueOnlyStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Style class used when displayValueOnly is true.
enabledOnUserRolefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
If user is in given role, this component will be rendered normally. If not, no hyperlink is rendered but all nested tags (=body) are rendered.
visibleOnUserRolefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.
forceIdfalsefalsejava.lang.StringIf true, this component will force the use of the specified id when rendering.
forceIdIndexfalsefalsejava.lang.StringIf false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.)
dirfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
langfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: The base language of this document.
titlefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: An advisory title for this element. Often used by the user agent as a tooltip.
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: CSS styling instructions.
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The CSS class for this element. Corresponds to the HTML 'class' attribute.
idfalsetruejava.lang.StringGet a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value that indicates whether this component should be rendered. Default value: true.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.

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.