[RecordPaging plugin]: Convert plugin to module

I converted RecordPaging (ForgeBox: RecordPaging) from plugin to module. In case anyone is interested in, I attached the code (sorry, old way). I tested it and seemed to be working as intended.

Extract and drop the cbpaging folder into /modules.

In ColdBox settings,

`

paging = {
pagingMaxRows = 10,
pagingBandGap = 5
};

`

In the handler,

`

paging = getModel(“Paging@cbpaging”);
rc.boundaries = paging.getBoundaries();

`

In the view,

`

#getModel("Paging@cbpaging").renderIt(foundRows, link)#

`

More explanations can be found at ForgeBox: RecordPaging

I hope this is useful.

cbpaging.rar (3.6 KB)