A paging plugin.
To use this plugin you need to create some settings in your coldbox.xml and some
css entries.

- PagingMaxRows : The maximum number of rows per page.
- PagingBandGap : The maximum number of pages in the page carrousel

.pagingTabs - The div container
.pagingTabsTotals - The totals
.pagingTabsCarrousel - The carrousel

To use. You must use a "page" variable to move from page to page.
ex: index.cfm?event=users.list&page=2

In your handler you must calculate the boundaries to push into your paging query.

<cfset rc.boundaries = getMyPlugin("paging").getBoundaries()>

Gives you a struct:
[startrow] : the startrow to use
[maxrow] : the max row in this recordset to use.
Ex: [startrow=11][maxrow=20] if we are using a PagingMaxRows of 10


FoundRows = The total rows found in the recordset
link = The link to use for paging, including a placeholder for the page @page@
ex: index.cfm?event=users.list&[email protected]@
Drop in your plugins folder or coldbox extensions location
  • Fixes to pagination on next screens
  • Updates to use default values for settings: Paging Max Rows = 20 and Paging Band Gap = 5


  •   Luis Majano
  • 2.0 is the latest of 1 release(s)
  • Published on Mar 20 2017 10:02 AM
box install RecordPaging

Add the following to your dependencies or devdependencies objects in your box.json, so CommandBox can track it as a dependency.

"RecordPaging" : "stable"
5.00 / 4
  • Dec 02 2009 06:43 PM
  • Mar 20 2017 10:02 AM
  • 9134
  • 2113
  • 18