> Using your example, if I have abstractcomponent.cfm in the 
> root of www_cfc and then i create folders to logically house 
> other cfc's...how would I reference abstractcomponent.cfc 
> from a subfolder?
> 
> www_cfc
> ....abstractcomponent.cfc
> ....cybergirl
> .......girl.cfc
> 
> I tried APPLICATION.CreateCFC( "cybergirl.Girl" ).Init(...) 
> and it found girl.cfc, but girl.cfc extends 
> applicationcompnent.cfc and it is erroring out as it can't 
> seem to find applicationcomponent.cfc. Can I only extend 
> cfc's that are in the same directory?

No, you can extend any component you can reference using a package path.
Assuming that www_cfc is in your web root, you would apecify
"www_cfc.abstractcomponent" in the EXTENDS attribute of the CFCOMPONENT tag
in girl.cfc.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259463
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to