Value List Handler
Tag paging


Generate panel for controlling of paging and focusing. For best understanding see war file with examples. When bodyContent is empty,it will render pages like with bodyContent <c:out value="${page}"/>. The style class for Summary is s Summary and StylePrefix+Summary analogical for paging : Paging and StylePrefix+Paging or for whole table PagingTag and StylePrefix+PagingTag
  1. <vlh:paging showSummary="true" pages="3" </vlh:paging>
  2. <vlh:paging showSummary="true" pages="3"><c:out value="${page}"/></vlh:paging>
  3. <vlh:paging showSummary="true" showItemsPerPage="true" pages="3" </vlh:paging>


Tag Information
Tag Classnet.mlw.vlh.web.tag.DefaultPagingTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
pagesfalsetrueintSpecify number of pages rendered as quick navigation. Note You must specify somethink in the inner tag's body content, otherwise will not generete quick paging.
showItemsPerPagefalsetruebooleanGenerate an input box specifying number of items per page. (It uses javascript to set conreate value. This will be removed in near feature.) The following keys are required to be define in message sources.

If you like to, you can add your properties file in your locale and add this lines of code in your language:

Items per page info
  1. paging.itemsPerPage.label = Items Per Page:
  2. paging.itemsPerPage.title = Number of items per page.
  3. paging.itemsPerPage.button = Set
  4. The style class of input box is ItemsPerPage and StylePrefix+ItemPerPage.
generateItemsPerPageFormfalsetruebooleanGenerate a form wrapping input box specifying number of items per page.
showSummaryfalsetruebooleanGenerate buttons to navigate through pages of data using i18n (internationalization). The following keys are required to be define in message sources.

If you like to, you can add your properties file in your locale and add this lines of code in your language:

Summary info:(is on the left)
  1. paging.text.totalRow={0} Total
  2. paging.text.pageFromTotal= {0} of {1} page(s)
Paging info: (is on the right)
  1. paging.first(off), paging.first(on)
  2. paging.previous(off), paging.previous(on)
  3. paging.forward(off), paging.forward(on)
  4. paging.last(off), paging.last(on)
  5. paging.delim
  6. paging.text.totalRow
  7. paging.text.pageFromTotal
Focus info:
  1. paging.focus(on), paging.focus(off), paging.focus(disabled), paging.focus(error)
attributesfalsetruejava.lang.String

Allow you to specify html tag attributes "inline"-without writing additinal vlh's tags.

Example

<vlh:column title="lastname" property="lastname" sortable="desc" attributes="width='150'"/>


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.