So I would have something like this?

<cfcomponent displayname="couponWrapper" hint="Used by remote services to 
handle coupon interaction.">
        
        <cffunction name="getCoupons" access="public" output="false" 
returntype="all">
                <cfargument name="page" required="yes" type="numeric">
                <cfargument name="pageSize" required="yes" type="numeric">
                <cfargument name="gridSortColumn" required="yes" type="string">
                <cfargument name="gridSortDirection" required="yes" 
type="string">
                <cfargument name="active" required="true" type="numeric">
                <cfset 
getCouponList=application.couponCFC.getCouponList(page,pagesize,gridSortColumn,gridSortDirection)>
                <cfreturn queryconvertforgrid(getCouponList,page,pagesize)>
        </cffunction> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308052
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to