I am storing information about a CFC in the <cfproperties> section of the component.  I am currently extending a CFC and I want access to the properties from the CFC being extended.   A quickie example

 

granddad.cfc:

<cfcomponent hint”I am the granddad”>

<cfproperty name=”param1” value=”value1”>

 

<cffunction name=”method1”>

</cffunction>

</cfcomponent>

 

dad.cfc:

<cfcomponent hint”I am the dad” extends=”granddad”>

<cfproperty name=”param2” value=”value2”>

 

<cffunction name=” method2”>

</cffunction>

</cfcomponent>

 

 

Now I instantiate objDad to be a new instance of DAD.  I have access to both method1 and method 2.  But I only have access to param2.  Is there a way to get at param1?

 

 

 

 

 

 

-----------------------------------------

Gerry Gurevich

Application Development

Lockheed Martin

(919) 361-5444 ext 311

 

Reply via email to