| |||||||
| FRAMES NO FRAMES | |||||||
Unless otherwise specified, all attributes accept static values or EL expressions.
| Tag Information | |
| Tag Class | org.hdpagination.web.jsf.tag.PaginateLinkTag |
| TagExtraInfo Class | None |
| Body Content | JSP |
| Display Name | None |
| Attributes | ||||
| Name | Required | Request-time | Type | Description |
| pagiDefinitionId | true | true | java.lang.String | Bean identifier of the corresponding PaginateDefinition instance declared in Spring application context. |
| styleClass | false | false | java.lang.String | Space-separated list of CSS style class(es) to be applied to the rendered hyperlinks (<a>). Refer to attribute 'class' in <a> HTML tag. |
| style | false | false | java.lang.String | Specifies an inline style for the rendered hyperlinks (<a>). Refer to attribute 'style' in <a> HTML tag. |
| isPaginatedVar | false | false | java.lang.String | Name of variable in request scope containing flag (Boolean) indicating if pagination is required. You can use this variable to determine whether other pagination related information should be rendered or not. For example, if this property value is specified as "_isPaginated" then you can use the following snippet to display the pagination information: <h:panelGroup rendered="#{_isPaginated}"> <h:outputText value="Page "/> <h:outputText value="#{_pageIndex}" /> <h:outputText value=" of "/> <h:outputText value="#{_pages}" /> .... </h:panelGroup> This value must be a static value. |
| pageIndexVar | false | false | java.lang.String | Name of variable in request scope containing index (starting from 1) of current page. You can use this variable to print out the current page number. For example, if this property value is specified as "_pageIndex" then you can use the following snippet to display the current page number: <h:outputText value="#{_pageIndex}" /> This value must be a static value. |
| pagesVar | false | false | java.lang.String | Name of variable in request scope containing number of pages. You can use this variable to print out the count of pages for the current search result. For example, if this property value is specified as "_pages" then you can use the following snippet to display the count of pages: <h:outputText value="#{_pages}" /> This value must be a static value. |
| recordsVar | false | false | java.lang.String | Name of variable in request scope containing number of total records. You can use this variable to print out the count of total records for the current search result. For example, if this property value is specified as "_records" then you can use the following snippet to display the count of total records: <h:outputText value="#{_records}" /> This value must be a static value. |
| firstResultVar | false | false | java.lang.String | Name of variable in request scope containing index (starting from 1) of the first record in the current page. Taking an example with following assumptions: 1) the page size is defined to 10 2) currently in the 3rd page 3) this property value is specified as "_firstResult" The following snippet <h:outputText value="#{_firstResult}" /> will display 20 This value must be a static value. |
| lastResultVar | false | false | java.lang.String | Name of variable in request scope containing index (starting from 1) of the last record in the current page. Taking an example with following assumptions: 1) the page size is defined to 10 2) currently in the 3rd page 3) this property value is specified as "_lastResult" The following snippet <h:outputText value="#{_lastResult}" /> will display (a) 30 -- if current page is not the last page (b) index of the last record -- if current page is not the last page (e.g, it will display 25 if there are 25 records totally in the search results). This value must be a static value. |
| Variables | No Variables Defined. |
| |||||||
| FRAMES NO FRAMES | |||||||