if you copy and pasted: <cfcomponent name="ug" displayname="User Group CFC" hint="the user group cfc" extends=" org.camden.blog.blog"> from your cfc...try removing the space in the extends attribute.. eg: extends=" org.camden.blog.blog" should be extends="org.camden.blog.blog"
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leif Wells Sent: Thursday, 18 January 2007 10:13 a.m. To: cfcdev@cfczone.org Subject: Re: [CFCDEV] Extending a CFC: Confirmation, please Or better yet, is there some mapping I need to create inside the ColdFusion Administrator to get the CFC to see this file? Leif On 1/17/07, Leif Wells <[EMAIL PROTECTED]> wrote: yes. wwwroot - org - - augatlanta - - - blog - - camden - - - blog Everything appears to be in the correct place. It looks like my org.augatlanta.blog.ug.cfc can't find the org.camden.blog folder. Is there some other syntax I should be using? Leif On 1/17/07, Matt Woodward < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: What does your directory structure look like? Do you have an org directory right under your docroot? On 1/17/07, Leif Wells <[EMAIL PROTECTED]> wrote: > Alright, then. Perhaps a few of you are familiar with Ray's code. > > In my Application.cfm I have this: > <cfset application.blog = createObject("component"," > org.augatlanta.blog.ug").init(blogname)> > > And the first line of my CFC reads: > <cfcomponent name="ug" displayname="User Group CFC" hint="the user group > cfc" extends=" org.camden.blog.blog"> > > And the error I am getting: > "Could not find the ColdFusion Component/Interface org.camden.blog.blog." > > Where have I gone wrong? > > Leif > > > > On 1/17/07, Matt Woodward <[EMAIL PROTECTED]> wrote: > > As long as you specify the full path you can extend whatever CFC you > > want. CF locates the CFC you want to extend in the same way it finds > > CFCs in general. > > > > <cfcomponent displayname="MyComponent" extends=" org.camden.blog.blog"> > > > > On 1/17/07, Leif Wells < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: > > > OK, > > > > > > 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? > > > > > > Leif > > > > > > > > > > > > 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 > > > > > > -- > > Matt Woodward > > [EMAIL PROTECTED] > > http://www.mattwoodward.com > > > > > > 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 > > > > > > > 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 -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.com 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 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 This email contains confidential information. If you are not the intended recipient of this email, please notify Straker Interactive and delete the email. You are not entitled to use it in any way. 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