
92
Chapter 7: Lesson 3: Creating a Main Application Page
3
Save the file and view the updated
tripdetail.cfm page in a browser (http://localhost/cfdocs/
getting_started/my_app/tripdetail.cfm?ID=8). The page appears as follows:
4
Click Search or Delete to test the database maintenance buttons.
An error occurs because the Maintenance Action page does not exist. The Maintenance Action
page is required to process the maintenance button requests. You will develop this page in the
next lesson.
Summary
In this lesson, you transformed the search facility you built in
Lesson 2: Writing Your First
ColdFusion Application
into a drill-down facility for trip queries. You built a Trip Detail page to
show more information about a particular trip. You also formatted the Trip Search Results and
Trip Detail pages using the CFML
DollarFormat
and
DateFormat
functions. You linked the
Trip Search Results page with the Trip Detail page. You used the
URLEncodedFormat
CFML
function to ensure that data was correctly from one page to the other. Finally, by adding trip
maintenance and navigation buttons, you converted the Trip Detail page into the main Trip
Maintenance application page.
In the next lesson
In the next lesson, you will build the action pages required to implement the navigation and
maintenance buttons on the main Trip Maintenance application page.
Содержание COLDFUSION MX 61-GETTING STARTED BUILDING COLDFUSION...
Страница 1: ...Getting Started Building ColdFusion MX Applications...
Страница 6: ...6 Contents...
Страница 10: ......
Страница 30: ...30 Chapter 2 CFML Basics...
Страница 36: ...36 Chapter 3 Database Fundamentals...
Страница 48: ......
Страница 76: ...76 Chapter 6 Lesson 2 Writing Your First ColdFusion Application...
Страница 134: ...134 Index...