> We've got cfcatch pages that are cfincluded all over the application
> in cftry blocks. I'd like to get the error template name for the error
> message that's logged, but can't figure out how to without using
> GetCurrentTemplatePath in every-darn-one of the cftry blocks.
> 
> GetCurrentTemplatePath - shows the cfcatch page if it's included
> there. GetBaseTemplatePath - shows the base page, not including any
> cfincludes (not much use for Fusebox!) GetTemplatePath - deprecated,
> but still works.  gives me the same results as GetBaseTemplatePath.
> 
> Any ideas out there?

Turn on 'Enable CFML Stack Trace' in the CF administrator (in debug
settings) and then use CFCATCH.TAGCONTEXT.

Cheers
Michiel
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to