MACROMEDIA COLDFUSION MX 61-GETTING STARTED BUILDING COLDFUSION MX Getting Started page 5

Building coldfusion mx applications
Table of Contents

Advertisement

Enhancing the Trip Maintenance application . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Showing additional trip details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Linking the Search Results page to the Trip Detail page . . . . . . . . . . . . . . . . . . 85
Enhancing the look of the search results and detail pages . . . . . . . . . . . . . . . . . 86
Adding navigation buttons to browse database . . . . . . . . . . . . . . . . . . . . . . . . . 89
Adding database maintenance buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
In the next lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Enhancing the Trip Maintenance application . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Using an HTML form to collect data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Validating data using a server-side action page . . . . . . . . . . . . . . . . . . . . . . . . . 96
Using cfselect tag to present valid event types . . . . . . . . . . . . . . . . . . . . . . . . . 102
Validating the existence of the trip photo file . . . . . . . . . . . . . . . . . . . . . . . . . 106
Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
In the next lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Enhancing the Trip Maintenance application . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Application development steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Using dynamic SQL to browse (navigate) the Trips table . . . . . . . . . . . . . . . . 111
Building the maintenance action page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Linking the Trip Detail page to the Trip Search page . . . . . . . . . . . . . . . . . . . 114
Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
In the next lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Completing the Trip Maintenance application . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Writing code to save new trips to the database . . . . . . . . . . . . . . . . . . . . . . . . 118
Updating a SQL row using cfupdate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Linking the Trip Edit page to the main page. . . . . . . . . . . . . . . . . . . . . . . . . . 125
SQL Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Updating multiple records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
. . . . . . . . . . . . . . . . . 77
. . . . . . . . . . . . . . . . . 117
Contents
5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61-GETTING STARTED BUILDING COLDFUSION MX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion mx

Table of Contents