> I want to extend a CFC but I want it to live in another > folder. Is that possible? > > For instance, if I wanted to extend Ray Camden's BlogCFC, > which is at this position: > > org/camden/blog/blog.cfc > > and I wanted to extend it with this file: > > org/aug/ug.cfc > > could that work? > > I believe that this configuration will NOT work, but I can > not find it documented anywhere that I have searched. > > I believe that no matter what both CFC files need to be in > the same folder. > > Anyone care to confirm? Or show me the error of my way?
Yes, it is possible, I've done it, and it's even done within the Advanced CF 7 course materials. You will need to specify the appropriate package path within the EXTENDS attribute, of course. 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! You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org