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

Introducing the <cferror> Tag

You use the <cferror> tag to specify how error messages should be displayed. Customizing the error messages that appear throughout your application is generally a two-step process:

1.
First, you create an error display template, which displays the error message along with whatever graphics or other formatting you consider appropriate.
2.
Next, you include a <cferror> tag that tells ColdFusion to display errors using the error display template you just created. In general, you place the <cferror> tag in your Application.cfc file.

Table 19.3 shows the attributes supported by the <cferror> tag.

Table 19.3. <cferror> Tag Attributes
AttributeDescription
typeThe type of error you want to catch and display using your customized ...

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