Skip to main content
February 26, 2009
Question

CFGRID Component Bind Problem

  • February 26, 2009
  • 1 reply
  • 305 views
hi guys, I am experiencing a strange problem with my code. now

I have this CFGRID which I have bind it to a component. but when I execute this code
it gives me a error which is

"Error invoking CFC /categories.cfc : Not Found"

===================================================
<cfgrid name="categoryList" format="html" selectmode="row" appendkey="no" pagesize="10" width="300px"
striperows="yes"
bind="cfc:~ecards.extensions.components.categories.catGridInterface({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})" >

<cfgridcolumn name="catname" header="#LANG.GRID_HEADER_CATNAME#" width="200">
<cfgridcolumn name="ops" header="" width="100"/>
</cfgrid>
===================================================

Do you guys have any idea about what's goin wrong here?

Regards
    This topic has been closed for replies.

    1 reply

    Inspiring
    February 27, 2009
    hi there, i'm pretty sure i'm experiencing a similar/same problem when binding cfc's to a cfgrid. here's what i found out so far, i can use cfcs as long as i'm not binding to a cfgrid returning a struct. have you tried to use this cfc without binding, RETURNTYPE="struct"?

    could you try to do a cfgrid calling a cfc as a query only? let me know if that works fine for you. if so, i'd say we're having the same problem.

    now i thought this may have been caused by not having a CF Server mapping set up to the CFC's i'm calling outside of the web site's root. after setting up different server mappings for my cfcs with two different web sites, my problem still persists.

    let me know what you come up with.

    thanks.