I'm going to be Captain Obvious and just note that you have a space
inside your extends="" code, but perhaps this is just a typo in your
email and not in the actual code?

 

I wouldn't even mention it, except I solved a problem with that same
type of error just yesterday, so maybe it's a theme in my life this
week. :-)

 

Nolan Erck
Web Developer/Programmer
Schools Financial Credit Union
(916) 569-5409 Office
(916) 569-2024 Fax
www.schools.org <http://www.schools.org/>  

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leif
Wells
Sent: Wednesday, January 17, 2007 12:54 PM
To: cfcdev@cfczone.org
Subject: Re: [CFCDEV] Extending a CFC: Confirmation, please

 

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 <http://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]> 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



The information contained in this e-mail is confidential and may contain 
privileged information exempt from disclosure under applicable law. The 
information is intended only for the use of the individual or entity to which 
it is addressed. If you are not the intended recipient, employee, or agent 
responsible to deliver it to the intended recipient, you are hereby notified 
that any use, dissemination, distribution, or copying of this communication is 
strictly prohibited. If you have received this e-mail in error, please delete 
the message from your computer and immediately notify the sender by telephone 
(you may call collect) at 916-569-5400 or by e-mail to [EMAIL PROTECTED] Thank 
you.


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

Reply via email to