3 Replies Latest reply on Nov 8, 2007 11:27 PM by kruse

    Error invoking CFC

    kruse Level 1
      I have got this code for a html cfgrid.

      <cfgrid
      name="Foods"
      format="html"
      pagesize="10"
      selectmode="browse"
      insert="Yes"
      delete="yes"
      bind="cfc:applications.Kost.cfc.Foods.getAllFoods({cfgridpage}, {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection})"
      >

      But the bind cannot find my CFC.

      I have got a virtual directory called Application. Her is my program located beneath the folder Kost. Then I have got my cfc in a cfc directory.

      c:/Applications/Kost/cfc/

      I have alos tried to use cfc.Foods but this cannot find the cfc either.

      If I take my cfc and deploy it to my C:\Inetpub\wwwroot directory.
      Then it works with a bind like this cfc:Foods.getAllFoods()

      can't I use mapped directories?
      I would prefere to have my cfc's located bebeath the right applications and not in the root.

      I user CF8