Gotcha. We don't use ajaxproxy...just straight jQuery. -----Original Message----- From: Azadi Saryev [mailto:[email protected]] Sent: Thursday, September 24, 2009 10:44 AM To: cf-talk Subject: Re: cfc's above the webroot
sorry, my memory was failing me a bit. The issue exists only with using <cfajaxproxy> to a cfc that extends another one - cf does not create js functions for any remote methods from the extended cfc. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 24/09/2009 23:34, Andy Matthews wrote: > That's not true. We do this sort of thing all the time in our code. > > We'll have our primary CFC outside the web root, then in a web > accessible folder, have a CFC with the same name, which simply extends > the remote CFC via mapping. In the outside CFC, various methods are > set to remote, but called from the CFC inside the web root. > > > andy > > -----Original Message----- > From: Azadi Saryev [mailto:[email protected]] > Sent: Thursday, September 24, 2009 10:31 AM > To: cf-talk > Subject: Re: cfc's above the webroot > > > Mark, I am afraid that in CF8 (at least; and I know in CF9 this has > been > fixed) remote methods in a cfc do not work in a cfc that extends it. > At least that was the case - I am not sure if CHF3 for CF8.0.1 has > fixed this or not... > > Azadi Saryev > Sabai-dee.com > http://www.sabai-dee.com/ > > > On 24/09/2009 23:10, Mark Kruger wrote: > >> Phil, >> >> You can create a CF mapping that points to your data directory ... >> Say 'cfclib' ... And then use it as in: >> >> Component="cfclib.cfcfilename" >> >> Keep in mind that a CFC outside the web root is going to be >> innaccessible via Ajax or remoting (of course you could extend it >> using a component inside the web root making only the access="remote" >> > methods available). > >> -Mark >> >> >> -----Original Message----- >> From: Phillip Vector [mailto:[email protected]] >> Sent: Thursday, September 24, 2009 9:49 AM >> To: cf-talk >> Subject: cfc's above the webroot >> >> >> I would like to store my CFC's above my webroot (../Data/cfc to be >> > precise). > >> Do I need any special coding to show this? >> >> <cfinvoke component="CFCFILENAME.CFCCOMPONENT" method="CFCFUNCTION" >> returnvariable="RETURNVARIABLE"></cfinvoke> >> >> It seems to me cfc's MUST be on the webroot for this to function >> > correctly. > >> >> >> >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326581 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

