98
Chapter 9: Lesson 6: Creating a Main Application Page
Exercise 1: Creating the main application page from the Trip
Detail page
In this exercise, you convert the Trip Detail page into the main Trip Maintenance application
page. The main application page includes additional buttons for navigating to other ColdFusion
pages and browsing the trip database records.
Adding navigation buttons to browse the database
The drill-down search function developed in
“Lesson 5: Creating a Trip Detail Page” on page 85
is very useful when the user knows some search criteria to enter. Flipping back and forth between
the results page and the detail page to navigate through a record set can be tedious. Moreover, on
occasion the trip coordinator might want to browse the Trips database just to check for anomalies
or to become familiar with its contents. In these cases, the trip coordinator does not know the
criteria to search for in advance.
The following figure shows the navigation buttons. The label below each button does not appear
in the application; it describes which row to display relative to the currently displayed row.
Trip detail information that you build initially
Maintenance buttons
Navigation buttons
Содержание COLFUSION MX 7-GETTING STARTED BUILDING COLDFUSION...
Страница 1: ...COLDFUSION MX7 Getting Started Building ColdFusion MX Applications...
Страница 6: ...6 Contents...
Страница 10: ......
Страница 14: ...14 Chapter 1 Introducing ColdFusion MX...
Страница 38: ...38 Chapter 3 Database Fundamentals...
Страница 40: ......
Страница 58: ...58 Chapter 5 Lesson 2 Configuring Your Development Environment...
Страница 70: ...70 Chapter 6 Lesson 3 Retrieving Data...
Страница 84: ...84 Chapter 7 Lesson 4 Building Dynamic Queries...
Страница 96: ...96 Chapter 8 Lesson 5 Creating a Trip Detail Page...
Страница 102: ...102 Chapter 9 Lesson 6 Creating a Main Application Page...