0 Replies Latest reply on Oct 22, 2008 12:14 PM by Lemmings_1975

    what is the name of my parents

      Hi all,

      first sorry for my english but I'm a frenchspeaker.

      so I would like to know if I can get the name of the place where my cfc is instantiated.

      I show you what I want:
      <cfset application.obj = createobject("component",cfc)>
      <cfset name = application.obj.init()>

      and in the cfc
      <cffunction name="init" access="public" returntype="string">
      <cfreturn this.parent.name> should be equal in this case to : application.obj

      thx for your help

      best regards