I am getting errors when using a dynamic extends value in a CFC. My guess is, this has to do with builtin Java inheritance rules which are not allowed to be dynamically defined, is this correct?


The method invoked in the extends parameter, returns a full ColdFusion component path as a string. In this case it would return iManage2004.wwwroot.objects.shared.aim


I use this to override methods for a system wide shared aim.cfc into customer specific aim.cfc components.

<cfcomponent extends="#server.io.getCFCPath('shared','aim')#">
<cffunction name="check" access="public" returntype="array">
  <cfargument name="instanceid" type="numeric" required="true">
  <cfset var dependencies = arrayNew(1) />
  
  <cfreturn dependencies>
</cffunction>
</cfcomponent>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to