Pagination Plugin Documenation

Is there any documentation for the pagination plugin? Concerning the
website docs, API and cheatsheat no such thing even exists...

Thanks,
Aaron

Yes! It does exists:
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbCodeDepot#paging

For quick reference should anyone else wonder the same thing, here is
how you install the custom paging plugin:
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbMyFirstPlugin#WheredoIsaveit

No docs, but hopefully a cfdump with reveal all I need to know (at
least to get up and running, perhaps not for custom presentation
configuration though).

Thanks again,
Aaron

I opened up the paging.cfc and found some internal documentation which
is helpful but it would be nice if there was an example of what to do
in the view such as:

<!--- output the paging carrousel --->
<cfoutput>#getMyPlugin("paging").renderit(rc.qMyQuery.recordcount,Event.buildLink("product.list?
page=@page@"))#</cfoutput>
<!--- run the query output --->
<cfouput query="#rc.qMyQuery#" startrow="#rc.boundaries.startrow#"
maxrows="#rc.boundaries.maxrow#">
#rc.qMyQuery.title#
</cfoutput>
<!--- output the paging carrousel --->
<cfoutput>#getMyPlugin("paging").renderit(rc.qMyQuery.recordcount,Event.buildLink("product.list?
page=@page@"))#</cfoutput>

Or

<!--- output the paging carrousel --->
<cfoutput>#getMyPlugin("paging").renderit(rc.qMyQuery.recordcount,Event.buildLink("product.list?
page=@page@"))#</cfoutput>
<!--- loop over the array and output the product titles --->
<cfloop from="#rc.boundaries.startrow#" to="#rc.boundaries.maxrow#"
item="i">
<cfoutput>#rc.product[i].getTitle#</cfoutput>
</cfloop>
<!--- output the paging carrousel --->
<cfoutput>#getMyPlugin("paging").renderit(rc.qMyQuery.recordcount,Event.buildLink("product.list?
page=@page@"))#</cfoutput>

If that code is correct you can use it, :wink:

-Aaron-

Hi Aaron,

yes the plugins in the code depot only have internal documentation. I will update it more and of course, if you have ideas on how to expand it, please submit here.

Luis