How are you capturing your exception?

Teddy

On 5/5/06, Mischa Uppelschoten ext 10 <[EMAIL PROTECTED] > wrote:
Trying to get "page-not-found.cfm" as a missing template handler to work in CFMX7.

When I request a non existing cfm page foo.cfm this code in page-not-found.cfm is executed fine:

<cfset request.txt="Page not found">
<cfoutput>
#request.txt#
</cfoutput>

This does not work fine:

<cfset request.txt="Page not found">
<cfoutput>
#request.txt#
</cfoutput>
<cfdump var="#application#">


CF will display the text "Page not found" in the browser, but will then generate the default "Error Occurred While Processing Request", complaining that the foo.cfm file could not be found. I rely on my application variables for displaying my standard site layout, so at this moment I'm unable to properly format a page not found error. Any suggestions?
Thanks!
Mischa.


--------------------------------------------------------
* To unsubscribe from this list, manage your profile @ *
* http://www.acfug.org?falogin.edituserform            *
*                                                      *
* For more info, see http://www.acfug.org/mailinglists *
--------------------------------------------------------



-------------------------------------------------------- * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists * --------------------------------------------------------

Reply via email to