Specifications

8 Migrating ColdFusion 5 Applications
cfcatch
Changed cfcatch.Message gets the current values every time an
exception is thrown, and ColdFusion MX ignores any
cfset assignment to a cfcatch member.
To remedy this, construct a new message or variable to
make extensions to changes in cfcatch values.
See the section about
CFCATCH variables in
CFML Reference
.
cfcatch.Message returns a different SQLState value
for Type 4 database drivers; this affects the
NativeErrorCode variable as well.
Can no longer use cfcatch to catch function validation
errors; use the ColdFusion MX compiler instead.
cfcol,
cftable
Changed If you use the cfcol header attribute without any text,
and the cftable colheader attribute, then ColdFusion
MX displays the header as true. ColdFusion 5 displays
the header as TRUE.
See cfcol and
cftable in
CFML
Reference
.
cfcollection
Changed The action attribute is now optional, and its default
value is list, a new value in ColdFusion MX.
See cfcollection in
CFML Reference
, and
Working with Verity
To o l s
.
Added an attribute called name, which is required when
action = "list". The name attribute provides the
name for the query results.
When you use cfcollection with action = "list"
and name = "<query_results_name>", you retrieve a
table with the properties for every Verity collection that is
registered by ColdFusion or the K2 Server.
cfdirectory
Changed (Windows) No longer returns rows for '.' and '..' in the
query results, but only subdirectories, like on UNIX.
If your application has code to skip these rows (for
example, startrow="3"), you must change it.
See cfdirectory in
CFML Reference
.
(Windows) No longer supports sort="temporary", and
it only supports sorting on the ReadOnly and Hidden
attributes.
(UNIX) When action=list, cfdirectory only reports
the ReadOnly and Hidden attributes.
cferror
Changed type="monitor" is obsolete in ColdFusion MX. See cferror in
CFML Reference
.
Tag Status Compatibility issue
For more
information