CFML works on CFERROR templates in CF5, as well, as long as the
type="Exception".  I just built a whole web-based defect tracking system
that uses the template specified in the CFERROR tage as the bug submission
form, and I'm using all kinds of CFML on that page.  What DOESN'T run is the
application.cfm file, so you have to move anything you would have defined in
the application.cfm page to the error template itself.

Also keep in mind, as Dave Watts pointed out last week in a similar thread
(and saved me from more concussions from beating my head against a wall)
that ANY error in the error template causes CF to default back to the
default error handler template.  So...it's a good idea to limit the CFML you
use on the error template, but if you have to, test and test and test it.
It's gotta be perfect or you'll be seeing the default all the time.

-Kevin

-----Original Message-----
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 12:17 PM
To: CF-Talk
Subject: Re: cferror


On Wednesday 12 Feb 2003 12:47 pm, Craig Dudley wrote:
> The template specified in <cferror> CANNOT run cfml, any cfml at all,
> not even a cfif.

This is not the case for TYPE="Exception" on MX.
See the URL quoted.

--
Tom C

Listen to Ivanova's suggestions.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to