Why use the path #Fusebox.rootPath##self# for cfmodule invocation ?

I thought in the context of FB3 everything is invoked via the home 
circuit in which case #self# on its own should be sufficient.

I suspect there may be an answer related to nested layouts, which gave 
me a small problem with cfmodule invocation when I first tried 
it.

Andy.

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