O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Request vs. Exception Error Templates

If you want to customize the way error messages are displayed, you first must create an error display template. This template is displayed to the user whenever a page request can’t be completed because of some type of uncaught error condition.

ColdFusion actually allows you to create two types of error display templates:

  • Request error display templates. The simplest way to show a customized error message. You can include whatever images or formatting you want so that the error matches your site’s look and feel. However, CFML tags, such as <cfoutput>, <cfset>, or <cfinclude>, are not allowed. CFML functions and variables also are not allowed. Request error templates provide a last-resort way to handle errors. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required