Sure, you can do that. -----Original Message----- From: Tom Nunamaker [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 10:20 AM To: [EMAIL PROTECTED] Subject: RE: Just a tip...
Couldn't you do this? <cfset "#scope#.myName" = 'Hal Helms'> I like less typing.. :) Tom -----Original Message----- From: hal helms [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 9:13 AM To: [EMAIL PROTECTED] 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 ==^================================================================
