JSP CUSTOM TAG LIBRARIES


pagebar tag
Example

Enables the user to navigate directly to a particular page. You can configure the number of pages that display on the pagebar. The current page displays in bold.

Note This tag generates HTML that causes the page to reload when a user clicks it. If you want to save the parameters that you passed into the page, you must use a preserve tag for each parameter you want to save or it will be lost when the page reloads.

Contexts:

Valid in:


Syntax
Attributes

The following attributes are optional:

pages


navstyle
Attribute option
Description
Example
If current page is 22:
AllBlocksDisplays all page blocks, except the current one, in grouped chunks. Lists each page in the current block separately.1-10 11-20 21 22 23 24 25 26 27 28 29 30 31-40
NextPrevLists page numbers of current block separately and surrounds the list with less-than and greater-than signs. You can replace the less-than and greater-than signs by specifying image files to display in the nextblockimg and prevblockimg attributes.< 21 22 23 24 25 26 27 28 29 30 >
NoneLists the pages in the current page block only.21 22 23 24 25 26 27 28 29 30
OnlyBlocksDisplays all the page blocks in grouped chunks.1-10 11-20 21-30 31-40
OnlyPagesDisplays all the pages without breaking them down into page blocks. The pages attribute is ignored for this mode. Not a good choice for page bars that include a large number of pages.1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...

nextblockimg
prevblockimg
See the Common Domino JSP tag attributes section for definitions of debug, onfailure, and time.

HTML Attributes

See the Common HTML tag attributes section for definitions of the following standard HTML tag attributes:


Example
See Also