I believe the documentation in question is:

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/buildi46.htm

"Note: If you use component inheritance, you cannot use the This scope in
the base (parent) component, only in the component that extends it."



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Sean A Corfield
> Sent: Friday, September 26, 2003 7:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] Top Ten Tips for Developing ColdFusion Components
>
>
> On Friday, Sep 26, 2003, at 04:55 US/Pacific, Hardy Jonck wrote:
> > Please help me clarify a point in the documentation relating to 'this'
> > and
> > inheritance. If I can summarise so far:
> > Variables scope - private instance variables accessible to all methods
> > and
> > pages included from the component and persists for the life of the
> > object -
> > all super classes share the same variables scope in any one instance
> > of a
> > class.
> > But what about this? - the documentation states that one cannot use the
> > 'this' scope in super classes - meaning what? Please explain and use
> > the
> > example below - or better...
>
> Could you provide the documentation reference that is confusing you?
>
> 'this' scope and 'variables' scope are identical in terms of lifetime -
> they both exist for the duration of the CFC instance. 'variables'
> containing non-public items (and a reference to 'this' scope and
> references to public functions) whereas 'this' contains only public
> items (data and functions).
>
> Sean A Corfield -- http://www.corfield.org/blog/
>

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to