I experimenting with binding an HTML cfgrid to a CFC and I'm having troubles.  

 <cfgrid format="html" name="grd_list_users" 
bind="cfc:com.myapp.www.DAOs.userDAO.getAllUsers({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})">

The cfc is web-accessible in the following path:  
www.myserver.com/com/myapp/www/DAOs/userDAO.cfc

The docs say: "The componentPath value must be a dot-delimited path from the 
web root or the directory that contains the current page."

However, when the page loads, I get this error in my cfdebug window:
http: Error invoking CFC /userDAO.cfc : Not Found

ColdFusion seems to just be chopping off all those directories and simply 
looking for the CFC in the web root.  Why the heck would it do that?

I can't find anything in the docs that explain it, and what is killing me is 
EVERY single example I can find always just uses the cfc in the web root, or in 
the same location as the main file.  It's the curse of the abundance of 
over-simplified examples...  I must be missing something obvious.

~Brad

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