ch 29, 2003 5:28 PM
> To: CF-Talk
> Subject: Re: accessing parent cfc's variables
>
>
> On Saturday, Mar 29, 2003, at 07:52 US/Pacific, Raymond Camden wrote:
> > It is true. If in parent.cfc, outside the methods or in a method but
> > not
> > var scoped or attrib
On Saturday, Mar 29, 2003, at 07:52 US/Pacific, Raymond Camden wrote:
> It is true. If in parent.cfc, outside the methods or in a method but
> not
> var scoped or attribute scoped, if you do x=1, then child.cfc can
> access
> it as well.
Let's try some real code here because I think some folks h
a
>>
>>> -Original Message-
>>> From: Brad Howerter [mailto:[EMAIL PROTECTED]
>>> Sent: Saturday, March 29, 2003 8:38 AM
>>> To: CF-Talk
>>> Subject: accessing parent cfc's variables
>>>
>>>
>>> Oh, ye
EMAIL PROTECTED]
>> Sent: Saturday, March 29, 2003 8:38 AM
>> To: CF-Talk
>> Subject: accessing parent cfc's variables
>>
>>
>> Oh, yeah, I'd forgotten the original question. Raymond, you
>> said the 'lower' class has access to the un
g
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
> -Original Message-
> From: Brad Howerter [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 29, 2003 8:38 AM
> To: CF-Talk
> Subject: accessing parent cfc's variables
>
>
&
Oh, yeah, I'd forgotten the original question. Raymond, you said the 'lower' class
has access to the unnamed scope of the parent? I guess that's where I started
thinking this was an inherited object and not just one of composition. It's not true,
is it, that the unnamed scope would be availab
On Friday, Mar 28, 2003, at 08:02 US/Pacific, Brad Howerter wrote:
> The child CFC automatically inherits all of its parents values, so to
> me it seems redundant to call a method to get them.
That's true of inheritance not of composition. The question was about
the latter.
Sean A Corfield -- h
On Thursday, Mar 27, 2003, at 18:37 US/Pacific, [EMAIL PROTECTED]
wrote:
> 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.
>
>
>
>
>
One option is to pass in the parent object reference (s
Should the encapsulation extend to the children, or should they know about their
parent? I would think they'd know, since they have to know what methods to override
and provide anyway.
~|
Archives: http://www.houseoffusion.com/c
;My ally is the Force, and a powerful ally it is." - Yoda
> -Original Message-
> From: Brad Howerter [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2003 10:03 AM
> To: CF-Talk
> Subject: accessing parent cfc's variables
>
>
> The child CFC automa
The child CFC automatically inherits all of its parents values, so to me it seems
redundant to call a method to get them.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusi
age-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 27, 2003 8:37 PM
> To: CF-Talk
> Subject: accessing parent cfc's variables
>
>
> If I have a cfc that is nested in another cfc, is there a way
> to access the parent
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.
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]
~~~
13 matches
Mail list logo