This was raised a while ago
 
I believe it can not be dynamic because the "extends" value is resolved at compile time, not runtime so you cant have a dynamic "extends" value.  This is the same as with the CFIMPORT tag.  the lib value can not be dynamic
 
Mark Mandel did go into how you can push dynamic CFCs into your apps which might be handy
 
Regards
Steve Onnis
-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Mark Mandel
Sent: Tuesday, February 21, 2006 2:32 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: CFC extends attribute

I wrote this on my blog about different ways to deploy cfc's in a coldfusion app.  Part of what it covers is hard coding typing and extends, you may find it useful:
http://www.compoundtheory.com/?action="">

However, to point, there is no 'real' way of making it more dynamic, as it currenty stands, extends has to be hard coded.

Hope that helps.

Mark

On 21/02/06, <cfgroupie> <[EMAIL PROTECTED]> wrote:

Hi guys,

I sort of already know the answer for this question. However, I'm
trying to spread some different persepective on it. We use CFC's
heavily in our application. Because they rock. One thing we use is the
extends attribute. Now the disadvantage to the extends is that it has
to be hard coded i.e.

<cfcomponent name="cust_comp_index"
extends="sandbox.cfdology.1_1.Core_CFC.comp_index">
        <cffunction name="dsp_index">
                test
        </cffunction>
</cfcomponent>

What I would like to do is make the extends attribute dynamic or at
least part of it. Currently we are using CF mappings. But I'm just
trying to stream line it slightly. Can anyone thing of a way to make it
more dynamic more so to what I'm doing now?

Jeremy


--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to