For those that care - I did some testing - and it is me, the idea behind
the code is correct. I just did something wrong.
The following code works without a hitch:
--- parent.cfc ---
<cfcomponent displayname="Parent">
</cfcomponent>
---
--- child.cfc ---
<cfcomponent displayname="Child" extends="Parent">
</cfcomponent>
---
--- doStuff.cfc ---
<cfcomponent displayname="DoStuff">
<cffunction name="doStuff" access="public" output="Yes">
<cfargument name="obj" type="Parent">
<cfdump var="#GetMetaData(obj)#">
</cffunction>
</cfcomponent>
---
--- index.cfm ---
<cfscript>
doStuff = createObject("component", "doStuff");
parent = createObject("component", "parent");
child = createObject("component", "child");
</cfscript>
<cfoutput>
Parent Meta
#doStuff.doStuff(parent)#
Child Meta
#doStuff.doStuff(child)#
</cfoutput>
---
Just thought someone might care ;o)
Mark
------------------------------------------------------------------
[EMAIL PROTECTED]
ICQ: 3094740
Safe From Bees
[ www.safefrombees.com ]
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004