> 
> Specifying a component as an argument....are all methods 
> available within
> the component specifying this other component in the 
> arguments? Sounds like
> a funky reverse inheritance.
> 

Eh? I don't quite get you. If you pass a CFC to another CFC like so:

<cfset x = createObject("component","foo")>
<cfset y = createObject("component","cow)>

<cfset result = x.doIt(y)>

Then, yes, inside of the doIt method, you can have...

<cffunction name="doIt" ....>
        <cfargument name="ani" type="cow">
        <cfoutput>#ani.moo()#</cfoutput>
</cffunction>

Does that answer your question?

-ray

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to