If I have a cfc that is nested in another cfc, is there a way to
access the parent object's variables?

I have something like this.

<cfif NOT isDefined("session.user.order")>
        <cfset order = createObject("component", "cfc\order")>
        <cfset session.user.order = order>
</cfif>

I have a method in the order object that needs to access a variable
in the this scope of the user object.


-- 
mailto:[EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to