[thelist] Re: <CFINCLUDE> INSIDE <CFQUERY OUTPUT>?
Joshua Olson
joshua at alphashop.net
Wed Dec 5 06:31:37 CST 2001
A trick to find out exactly what file CF was looking for during an include
is to wrap the cfinclude in a <cftry>/<cfcatch> combination. Then, in the
cfcatch, display cfcatch.MissingFileName.
Like so:
<cftry>
<cfinclude template="[dynamic filename]">
<cfcatch type="Any">
<cfoutput>Missing File Name: #cfcatch.MissingFileName</cfoutput>
</cfcatch>
</cftry>
HTH,
-joshua
----- Original Message -----
From: "mle" <mle at cargo9.com>
Subject: [thelist] Re: <CFINCLUDE> INSIDE <CFQUERY OUTPUT>?
: How do you display the url (as executed) of an include file? When trying
: to sort out
: problems with dynamically generated paths, it would be useful to see it.
More information about the thelist
mailing list