| Contents > Getting Started Building ColdFusion MX Applications > Lesson 3: Creating a Main Application Page |
|
|
|
|
||
In this lesson you will enhance the Compass Travel Trip Maintenance application. The exercises in this lesson guide you through the following steps:
This lesson explains how to do the following tasks:
URLEncodedFormat to safely link the Search Results page to the Trip Detail page.DateFormat and DollarFormat functions to properly format date and dollar variables.MOD function and a query variable to properly alternate the back color of rows in the Trip Search Results table.The following table identifies the ColdFusion tags and functions that you use in this lesson to enhance the sample ColdFusion application:
Element |
Type |
Brief description |
|---|---|---|
IsDefined |
Function |
Evaluates a string value to determine whether it represents an existing variable. Returns True if the variable is found, False if not found. |
DollarFormat |
Function |
Returns a number as a string formatted with two decimal places, thousands separator, and dollar sign. If the specified number is negative, parentheses are used. |
DateFormat |
Function |
Returns a formatted date/time value. If no mask is specified, |
URLEncodedFormat |
Function |
Converts a text string into a string that can safely be used in a URL. |
|
|
||
| Contents > Getting Started Building ColdFusion MX Applications > Lesson 3: Creating a Main Application Page |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.