KD Page Tags for Adaptive Layout
Tag paginationdata


This tag only works with the Knowledge Directory Adaptive Layout. Generates the data for the pagination links for for the documents in the current folder and stores it in memory using the variable name specified by the id attribute. The main data is stored as a DataObject with the following variables:
Additionally, the list of page links to display is stored in memory using the variable name specified by the pageslist attribute. Each result is a DataObject with the following variables:
Use tags from the Logic tags library to iterate over the list and display the results.


Tag Information
Tag Namepaginationdata

Attributes
NameTypeRequiredDefault ValueDescription
pagesliststringtruenullThe list of pagination pages.
pagestodisplayintfalse2The number of pages to display before and after the current page (if there are any). The default is 2.
idstringtruenullThe name of the variable in memory where the DO data created by this tag is stored. Specify this ID in the data attribute (most commonly the DATAVAR attribute) for any display tag consuming DO data. Multiple data tags can share the same ID, in which case they are added to a list in the order they were processed.
scopestringfalseportlet requestThe scope used to store the data. See the Logic tag library for a list of all available scopes.


Copyright 2005 Plumtree Software, Inc.