HOME STORE APPLICATIONS COLDFUSION PHP PORTFOLIO PROFILE CONTACT
Maps: TEXT|HTML|XML|RSS

Freelance Web Developer. ColdFusion, PHP, ASP.net programming worldwide

support@cf-works.com. SMS: +7-911-715-57-84

Pages: Coldfusion function splitting output content into pages - Light version (Item ID:164)

coldfusion function examples,coldfusion open source,coldfusion code examples, 
splitting search results,splitting query results,paging search results,coldfusion examples, split output
Enlarge image: Pages: Coldfusion function splitting output content into pages - Light versionEnlarge Image
Type:SOFTWARE (downloadable)
Category: Coldfusion Open Source 
Developer:CF-Works   [more items by CF-Works]
Seller:CF-Works   [more items from CF-Works]
Price:$3.00
Availability:Downloadable Immediately
Popularity: RateRateRateRateRate
 
  Status:  
Ready

"Pages" fuction is the light version of the PrevNext function. it is possible to do search results paging real easily. It is even more simple in use. If the name of the query for paging is "Results", sample piece of code using Pages function would look just like this:

<cfscript>
g=createobject("component","com.cfc.GUI");
g.Pages(results);
</sfscript>

That's is it :)
It is flexible enough and accepts extra parameters as follows:

<CFARGUMENT name="maxrows" type="numeric" required="No" default="20">
<CFARGUMENT name="pagesinblock" type="numeric" required="No" default="10">
<CFARGUMENT name="borderstyle" type="string" required="No" default="border:solid 1px ##778899;">
<CFARGUMENT name="curpagestyle" type="string" required="No" default="background-color:lightgrey; font-weight:bold;">


where MAXROWS is number of rows listed per page,
PAGESINBLOCK is how many boxed links to another next and previous pages it should show,
BORDERSTYLE and CURPAGESTYLE are styles arguments to customize look.

 
BRIEF DESCRIPTION: CF-Works: coldfusion function examples, coldfusion open source, coldfusion code examples, splitting search results, splitting query results, paging, coldfusion examples, split output into pages

 
write review Add your review to this item:
Existing customers please login (click "Your Account" top menu item).
New customers choose Quick Registration including just your name, email and password or Complete Registration


*Ask a Question about Pages: Coldfusion function splitting output content into pages - Light version:
E-Mail:enter your email address if you would like to be notified when your question is answered
*Anti-spam code:
Please enter anti-spam code to prevent automated scripts' spam submissions. Thank You

  Status:  
Ready


Reviews Rate: Not Rated
Visitors Rate: RateRateRateRateRate   (1 vote)
Rate this item:
 Rate Pages: Coldfusion function splitting output content into pages - Light version: CF-Works: coldfusion function examples, coldfusion open source, coldfusion code examples, splitting search results, splitting query results, paging, coldfusion examples, split output into pages