RE: accessing parent cfc's variables

2003-03-29 Thread Raymond Camden
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

Re: accessing parent cfc's variables

2003-03-29 Thread Sean A Corfield
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

accessing parent cfc's variables

2003-03-29 Thread Brad Howerter
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

accessing parent cfc's variables

2003-03-29 Thread Brad Howerter
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

RE: accessing parent cfc's variables

2003-03-29 Thread Raymond Camden
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 > > &

accessing parent cfc's variables

2003-03-29 Thread Brad Howerter
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

Re: accessing parent cfc's variables

2003-03-29 Thread Sean A Corfield
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

Re: accessing parent cfc's variables

2003-03-28 Thread Sean A Corfield
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

accessing parent cfc's variables

2003-03-28 Thread Brad Howerter
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

RE: accessing parent cfc's variables

2003-03-28 Thread Raymond Camden
;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

accessing parent cfc's variables

2003-03-28 Thread Brad Howerter
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

RE: accessing parent cfc's variables

2003-03-28 Thread Raymond Camden
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

accessing parent cfc's variables

2003-03-27 Thread jonhall
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] ~~~