Title: Message
Yes, getMetaData(this) returns a struct. The key, name, will equal the 'dot' notation name of the CFC.
 
 

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Suyer, Ed [PRD Non-J&J]
Sent: Wednesday, June 18, 2003 11:46 AM
To: '[EMAIL PROTECTED]'
Subject: [CFCDev] Knowing the CFC path from within the CFC


Is there a variable I can access from within the cfc that contains the dot notation path of the cfc?

in other words, if I call- >

<cfobject name="foo" component="com.jnj.foo">
<cfinvoke component="#foo#" method="getPath" returnvariable="attributes.cfcpath">

what goes in here ->

<cfcomponent>
        <cffunction access="public" name="getPath">

                <cfreturn ??> <!-- i want to return "com.jnj".  "com.jnj.foo" works too. --->
        </cffunction>
</cfcomponent>


Any thoughts?

Reply via email to