The root would be c:\mysite\ but I am executing the cfc from the admin folder inside the site root. It is hitting the CFC fine because I can see it return all the values like it should using the ajax debugging window. It just doesn't put those values into the drop downs.
-----Original Message----- From: Michael Grant [mailto:[email protected]] Sent: Wednesday, December 01, 2010 11:47 AM To: cf-talk Subject: Re: cfc bind issue and your site root resolves to mysite\admin? On Tue, Nov 30, 2010 at 6:21 PM, <[email protected]> wrote: > > 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:339688 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

