Why you cannot try to use CFError ?
-----Mensaje original-----
De: Clint Tillerson [mailto:[EMAIL PROTECTED]]
Enviado el: Thursday, January 25, 2001 11:11 AM
Para: Fusebox
Asunto: Error Handling
Is there a way, documented or otherwise to dynamically grab the
name of an included template as it is processing. cgi.script_name
returns the "URL template" but in fusebox this is always
"/path/index.cfm".
I would like to grab the name of the included template that is
processing when an error occurs. I can't find a way to do this other
than by brute force by setting a variable I call
'variables.thisTemplate' at the top of every template, then I have to
reset it after each include.
Any suggestions are greatly appreciated.
clint
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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