Your tip is more BEAUTY than this code:

 <cfset getMenu = getItems>
 <cfset GetRoot = getRoot>
 <cftry>
  <cfset Caller.getMenu = getItems>
  <cfset Caller.GetRoot = getRoot>
  <cfcatch></cfcatch>
 </cftry>

hehehehehehe


----- Original Message ----- 
From: "hal helms" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 4:12 PM
Subject: RE: Just a tip...


> Whoops, I left out some quotation marks: That last bit should be:
> 
> <cfset SetVariable( Scope & '.myName', 'Hal Helms' )>
> 
> -----Original Message-----
> From: hal helms [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, April 08, 2002 10:05 AM
> To: Fusebox list
> Subject: Just a tip...
> 
> 
> 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