In your E-mail you said the component file name was TestCFC2.cfm . 
Shouldn't that be TestCFC2.cfc?

~Brad

-------- Original Message --------
Subject: Connecting to CFC's in the same directory in CF9.
From: John Pullam <jpul...@mcleansystems.com>
Date: Fri, July 16, 2010 4:42 pm
To: cf-talk <cf-talk@houseoffusion.com>


This is a variation of a question I posted a few days ago that didn't
get resolved, so please bear with me. It seems simple but I am not
getting anywhere with it.

I have a test page (TestCFC.cfm) that binds to a CFC (TestCFC2.cfm) that
is in the same directory. This used to work on CF8 but it doesn't on
CF9. I keep being told that "The specified CFC TestCFC2 could not be
found."

I don't understand why it can't be found because the manual says that
for bind expressions, "The componentPath value must be a dot-delimited
path from the web root or the directory that contains the current page."

My calling page contains:
<cfform>
 <cfselect name="oSLevel" bind="cfc:TestCFC2.GetRoles()"
bindonload="true" value="m" />
 </cfform>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335435
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to