That is spiffy! But what is the advantage of this over request scope?

At 10:05 AM 4/8/2002 -0400, hal helms wrote:
>I was working with John Q the other day and showed him something that
>some of you might find interesting. When calling the fusebox as a custom
>tag (e.g. <cfmodule template="#Fusebox.rootPath##self#"
>fuseaction="Home.main">), I find it helpful to have this code in my
>FBX_Settings.cfm file:
>
><cfif Fusebox.isCustomTag>
>   <cfset Scope="Caller">
><cfelse>
>   <cfset Scope="Variables">
></cfif>
>
>Now, when I have fuses that may be invoked either through a custom tag
>call or a normal cfinclude call, I can do something like this:
>
><cfset SetVariable( Scope & .myName, 'Hal Helms' )>
>
>FWIW.

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to