Okay, I moved the wrapper into a folder that is part of the application and can
now at least get a step farther but now am stuck on this.
"The GRIDSORTCOLUMN parameter to the getCouponList function is required but was
not passed in."
I have put a cfdump tag right after the arguments list and the gridsortcolumn
variable is defined there.
Thanks for all the help so far!
<cfcomponent displayname="couponWrapper" hint="Used by remote services to
handle coupon interaction.">
<cffunction name="getCouponListWrapper" access="remote" 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">
<cfinvoke component="#application.coupons#"
method="getCouponList" returnvariable="CouponList">
<cfinvokeargument name="page" value="#arguments.page#">
<cfinvokeargument name="pageSize"
value="#arguments.pageSize#">
<cfinvokeargument name="sortColumn"
value="#arguments.gridSortColumn#">
<cfinvokeargument name="sortDirection"
value="#arguments.gridSortDirection#">
<cfinvokeargument name="active"
value="#arguments.active#">
</cfinvoke>
<cfdump var="#CouponList#"><cfabort>
<cfreturn queryconvertforgrid(CouponList,page,pagesize)>
</cffunction>
</cfcomponent>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:308064
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4