CFCs can be accessed in a few ways...

Via the standard CF custom tag directory, a custom-custom tag
directory, or in the immediate folder of the calling template:
createObject("component","myCFC")

Or in a folder below any of the above:
createObject("component","folder.from.current.location.myCFC")

There's a very specific search order that governs where CFCs should be
located and how CF finds them if you only specify a CFC name.

Check the livedocs here:
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/buildi12.htm

Laterz,
J


On Tue, 25 Jan 2005 01:18:19 -0500, Dwayne Cole <[EMAIL PROTECTED]> wrote:
> I thought tha this mapping issue was the problem with cfc's.  Mapping works 
> when your using <cfinclude>. I haven't wrapped most of my "cffunction" 
> libraries with cfcomponent because of this issue of how to find them.  Plus 
> my "cfc's" don't contain instance data, I'm not using flash yet, and I'm not 
> using webservices.   So for me I works well to use <cfinclude> to include the 
> set of <cffunction> before I make the call or include them in the 
> application.cfm page.
> 
> Dwayne.
> 
>


-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://cfobjective.blogspot.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware: a new and convenient web-based time tracking application. Start 
tracking and documenting hours spent on a project or with a client with Logware 
today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191656
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to