Ok this one has me scratching my head. I have a cfc located here.

 

C:\mysite\admin\cfc\GetCategoryData.cfc

 

I put this code on a page where I call it using the dot notation and it
does not populate the cfselect. The CFC is running fine according to the
debugger window. It just doesn't populate the CFSELECT with the data.

 

<CFFORM>

<cfselect name="category" bind="cfc:cfc.GetCategoryData.getCategory()"
bindonload="true"></cfselect>

</CFFORM>

 

 

However when I create a mapping in CF admin and use it for the same CFC
it works fine. Like so.

 

<CFFORM>

<cfselect name="category"
bind="cfc:mymapping.GetCategoryData.getCategory()"
bindonload="true"></cfselect>

</CFFORM>

 

Any ideas as to why this could be? I don't want to create a mapping for
every site to use a CFC. Thanks in advance for any insight into this.

 



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

Reply via email to