Yes Jim. You can use the Application scope inside custom tags Bryan Stevenson VP & Director of E-Commerce Development Electric Edge Systems Group Inc. p. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Allaire Alliance Partner www.allaire.com
----- Original Message ----- From: "Jim McAtee" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, January 02, 2002 1:37 PM Subject: Re: Inheriting Application.cfm? > Question: Do custom CF tags "see" the parent template's application scope > variables? Without testing it, I'm guessing the answer is 'No'. How then, > would I access application variables from a custom tag? Can I do a > 'caller.application.whatever = something'? > > Jim > > > ----- Original Message ----- > From: "Raymond Camden" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Wednesday, January 02, 2002 1:42 PM > Subject: RE: Inheriting Application.cfm? > > > > > My subfolder's application file would look like this: > > > <cfscript> > > > CSOnline = "True"; > > > </cfscript> > > > <cfinclude template="/application.cfm"> > > > > > > Like I said, it seems to work. Any reason not to do this? Thanks! > > > > As long as you are aware that changes to the root app.cfm affect the > > children - I say go for it. I've used this method multiple times in the > > past. > > > > ======================================================================= > > Raymond Camden, Principal Spectra Compliance Engineer for Macromedia > ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

