Title: 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