You need to write a static wrapper CFC that has inside it a reference
to your application scoped CFC. It mirrors the methods and proxies the
calls to your app scoped object.

On Tue, Jun 24, 2008 at 1:22 PM, Ian Rutherford
<[EMAIL PROTECTED]> wrote:
> Okay, I figured out the problem but don't know the answer. I am getting this 
> problem when I try to bind the cfc in a grid because the grid is binding a 
> new copy of the cfc instead of the one created in the application scope:
>
> <cfgrid format="html" name="getCouponList" pagesize="#attributes.pageSize#" 
> selectmode="row"
>                        
> bind="cfc:cfcs.coupon.getCouponList({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{active})">
>
> It works if I call it through an invoke command.
>
> The problem I have now is, how can I bind a cfc in a scope?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:308030
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to