This documentation refers to the latest trunk version of the Pager code.
The Pager component allows users to break up long lists of items into separate pages.
Unlike many other Fluid Components, the Pager makes certain assumptions about the structure of the HTML markup it is applied tocurrent version of the Pager is entirely mark-up driven. This means that the Pager component itself doesn't create or provide any markup - you have to provide it yourself.
The Pager requires certain minimum markup from you:
- The entire pager is must be contained within some kind of a container element.
- Within that container, there are one or two 'pager bar' elements, each containing:
- an element containing any number of page links
- optionally, a 'next' element and a 'previous' element
The Pager uses CSS selectors to access these various components. Default selectors are assumed, which can be overriden (see #options below).