On their way, thanks :) Dan
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sean Corfield > Sent: Tuesday, April 12, 2005 2:50 PM > To: [email protected] > Subject: Re: [CFCDev] Problem Extending Root Application.cfc > > On Apr 12, 2005 2:34 PM, Daniel Short <[EMAIL PROTECTED]> wrote: > > The problem I'm running into is that the this scope > variables are not > > cascading down into the subclasses. > > Then there must be something else going on in your code because it > works just fine for me. Send me all your actual files off-list and > I'll debug it for you. > > Here's another example - similar to yours - that works just fine > (different to what I posted earlier and different to what I just > blogged): > > /Application.cfc: > <cfcomponent name="Application"> > <cfset this.name = "cf7appx" /> > <cfset this.sessionmanagement = true /> > <cffunction name="onSessionStart"> > <cfoutput><p>Application.onSessionStart()</p></cfoutput> > <cfset session.counter = 0 /> > </cffunction> > </cfcomponent> > > /ApplicationProxy.cfc is unchanged. > > /app/Application.cfc: > <cfcomponent name="Application" extends="ApplicationProxy"> > <cffunction name="onRequest"> > <cfargument name="targetPage"/> > <cfoutput><p>app.Application.onRequest()</p></cfoutput> > <cfset session.counter = session.counter + 1 /> > <cfoutput><p>session.counter = > #session.counter#</p></cfoutput> > <cfinclude template="#arguments.targetPage#" /> > </cffunction> > </cfcomponent> > > /app/index.cfm: > <cfoutput><p>app/index.cfm</p></cfoutput> > -- > Sean A Corfield -- http://corfield.org/ > Team Fusebox -- http://fusebox.org/ > Got Gmail? -- I have 50, yes 50, invites to give away! > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [email protected] with the words 'unsubscribe cfcdev' as > the subject of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by > CFXHosting (www.cfxhosting.com). > > An archive of the CFCDev list is available at > www.mail-archive.com/[email protected] > > > > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
