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]> 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/[email protected]


--
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/[email protected]




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/[email protected]

Reply via email to