I believe there is an OnError event handler for that.


On 4/12/06, Les Mizzell <[EMAIL PROTECTED]> wrote:
I've a site on a shared server. Admin has added my requested error
document " site-map.cfm" as requested to the apache container file.

This works great for any .html pages, but ignores .cfm templates.

So, in my application.cfc file, shouldn't the below redirect to the
defined template?

<cffunction name="onRequestStart" returnType="boolean" output="true">

<cferror
     type = "exception"
     template = "site-map.cfm"
     exception = "template">

<!--- MORE STUFF HERE--->


It don't.

Do I have the total wrong idea here, or what's incorrect?


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting ( www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to