Erik, I don't mind. I got the tag from Stan Cox myself.

Hal Helms
Team Allaire
[ See www.halhelms.com <http://www.halhelms.com>  for info on training
classes ]


-----Original Message-----
From: Erik Voldengen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 2:33 PM
To: Fusebox
Subject: RE: cf_nesting


I think you can find it in his exception handling demo,
entitled "Grandfather."  It's in there.

The tag is magical.  Nobody knows what it does, but it
has something to do with nesting.  If I had to guess,
I would say it translates the fuseaction sent to the
tag into a fully qualified fuseaction.

At the risk of having Hal hunt me down and kill me,
here is his nesting tag.  Hal, I hope you don't mind.

<cfset caller.attributes.rawFA = caller.attributes.fuseaction>

<cfparam
   name="caller.faTranslated"
   default="FALSE"
   type="boolean">
<cftry>
   <cfif NOT caller.faTranslated AND ListLen( caller.attributes.fuseaction,
'.' ) GT 1>
      <cfset caller.attributes.fuseaction =
      request.circuits[ListFirst( caller.attributes.fuseaction, '.' )] & '.'
      & ListLast( caller.attributes.fuseaction, '.' )>
      <cfset caller.faTranslated = TRUE>
   </cfif>
   <cfcatch>
      I could not resolve the circuit application prefix sent to me.
      <cfabort>
   </cfcatch>
</cftry>
<cfif ListLen( caller.attributes.fuseaction, '.' ) GT 1>
   <cfset caller.attributes.fuseaction = ListDeleteAt(
caller.attributes.fuseaction, 1, '.' )>
</cfif>

Put it in your custom tags directory.



> -----Original Message-----
> From: Michel Gallant [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2001 10:44 AM
> To: Fusebox
> Subject: cf_nesting
>
>
> I was going through Hal's extened fusebox nesting tutorial
> and it mentions a
> cf_nesting tag.  I haven`t been able to find this tag anywhere.  Could
> anyone tell me what it does and where to get it?
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to