Yes, that's the general idea, although as I recall the access needs to
be "remote," not "public."

On Tue, Jun 24, 2008 at 11:17 PM, Ian Rutherford
<[EMAIL PROTECTED]> wrote:
> 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>

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:308054
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