Whatterz


Fusebox 5 Custom Dump and Abort Verbs

by Simon. Average Reading Time: less than a minute.

I have been developing with Fusebox with ColdFusion for a long time now and recently I moved to version 5 (when I say recently, on closer reflection I started using 5 shortly after it was released in July 2006…wow its been that long!). A common feature that was found to be lacking was the dump and abort features, so useful in debugging applications.

Fortunately for me, a colleague, Iain Turbitt, decided to spend an evening after work developing two custom verbs to implement these two ColdFusion tags within the Fusebox framework. You can grab the two files by clicking on the following link:

Download Fusebox 5 Custom Dump and Abort Verbs

The Dump verb behaviour is similar to the tag: but includes an optional abort attribute e.g.:

.

The Abort verb behaves as per the tag, i.e. .

This article has been tagged

, , , , ,

Other articles I recommend

Using JavaScript Logical Operators in ColdFusion 8

Logical operators are typically used with Boolean (logical) values; when they are, they return a Boolean value. However, the && and || operators actually return the value of one of the specified operands, so if these operators are used with non-Boolean values, they may return a non-Boolean value.

onTap – Web Application Framework

The onTap framework is an Open Source Framework for quickly developing powerful web applications using Macromedia’s ColdFusion application server.

Anatomy of the Application.cfc in ColdFusion 8

With the release of ColdFusion MX 7 came the introduction of the Application.cfc ColdFusion component. This component replaced the traditional Application.cfm and OnRequestEnd.cfm ColdFusion application templates. Furthermore, if Application.cfc is present, both of these templates are ignored by the application.

In addition to replacing the Application.cfm, the Application.cfc introduced a number of built in methods that handle specific events. These events, as discussed in detail below, allow for a greater control over events within the application.