I use this with my xfb.
in index.cfm I wrap my input as such.
<cftry>
<!--- Peel off the first layer and determine whether to delegate
the fuseaction. --->
<cfparam name="attributes.fuseaction" default="home">
<cfif ListLen( attributes.fuseaction, '.' ) GT 1>
<cfinclude template="#ListFirst( attributes.fuseaction,
'.' )#/index.cfm">
<cfelse>
<!--- Fuseactions go here. --->
</cfif>
<cfcatch type="any">
<cfif Request.Published>
<!--- Production site, emails me the information --->
<cfinclude
template="#request.site.parentmap.base#/senderror.cfm">
<cfelse>
<!--- Development, shows the information on screen. --->
<cfinclude
template="#request.site.parentmap.base#/showerror.cfm">
</cfif>
</cfcatch>
</cftry>
showerror.cfm
<cfoutput>
Error occurred.
<P>
#CFCATCH.Detail#
<P>
Additional Information<br>
Browser: #CGI.HTTP_USER_AGENT#<br>
Date/Time: #Dateformat(now(), 'MM/DD/YYYY')# - #TimeFormat(now(), 'hh:mm
tt')#<br>
HTTP Referer: #CGI.HTTPReferer#<br>
Message: #CFCATch.Message#<br>
Type: #CFCatch.Type#<br>
Path Info: #CGI.PATH_INFO#<br>
Remote Address: #CGI.REMOTE_ADDR#<br>
<P>
<P>The contents of the tag stack are:</P>
<CFLOOP index=i from=1 to = #ArrayLen(CFCATCH.TAGCONTEXT)#>
<CFSET sCurrent = #CFCATCH.TAGCONTEXT[i]#>
<BR>#i# #sCurrent["ID"]#
(#sCurrent["LINE"]#,#sCurrent["COLUMN"]#) #sCurrent["TEMPLATE"]#
</CFLOOP>
<hr>
</cfoutput>
<cfabort>
-----Original Message-----
From: lee borkman [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 5:08 PM
To: Fusebox
Subject: RE: Template Trace Tag
Thanks Daniel,
CF_Debugger only puts in a trace record wherever you put the tag. You need
to have it in every template, and every custom tag that you want to trace.
I know that's a hassle. You'll have the same problem with Hal's simple
technique too.
The VList should take any list of simple variables. Not, that it does not
yet accept query variables (ie field values), but try a little
experimenting.
Best of luck,
Lee.
>From: "Daniel J O'Keefe" <[EMAIL PROTECTED]>
>Thanks Lee, on all accounts. I have a familiarity with CFObjects, and I
>know
>what you are talking about.
>
>I am trying your tag, but do not seem to be capturing the cfincludes. I get
>the fuseactions listed in the table, but I am looking for complete template
>flow. Is this possible with your tag? Also, what are the possible
>parameters
>for VList?
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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