> -----Original Message-----
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 08, 2008 10:20 AM
> To: CF-Talk
> Subject: Re: Missing Template Handler is missing part Duex
> 
> Ok so what is wrong with using expandPath() in a 4.5 ColdFusion
> template
> that is used as the Missing Template handler?
> 
> That is the source of my problem.  When the 404error.cfm file is called
> directly in a browser the expandPath() function works properly and
> resolves the absolute path I need to work with for the <cffile...>
> calls
> to replace the <!--include virtural... --> directives.

Just to poke in, maybe it's already been discussed: CF 4.5 didn't allow the
use of any CFML in error templates.

It's a bit buried, but the docs for CF 4.5 are here:

http://www.adobe.com/support/documentation/en/coldfusion/documentation452.ht
ml/

This is from the "Developing Web Application..." book:

"The error application page is a file that includes HTML and the parameters
associated with the error. The error application page cannot use any CFML
tags.  The parameters associated with an error depend on the type of error.
All the error parameters use the Error prefix (for example,
Error.Diagnostics)."

The original thinking was that if the server was hosed you'd still get your
error page.  But it wasn't very flexible.

I honestly can't remember or find if the missing template handler was
restricted by the same rules... but I have a vague recollection that it was.

Jim Davis


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310519
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to