
Exercise 1: Creating a Trip Detail page
89
<tr>
<td valign="top">Return Date:
</td>
<td>#returnDate#
</td>
</tr>
<tr>
<td valign="top">Price:
</td>
<td>#price#
</td>
</tr>
<tr>
<td valign="top">Base Cost:
</td>
<td>#baseCost#
</td>
</tr>
<tr>
<td valign="top">Trip Leader:
</td>
<td>#tripLeader#
</td>
</tr>
<tr>
<td valign="top">Number People:
</td>
<td>#numberPeople#
</td>
</tr>
<tr>
<td valign="top">Deposit Required:
</td>
<td>#depositRequired#
</td>
</tr>
<tr>
<td valign="top">Photo File:
</td>
<td>#photo#
</td>
</tr>
</table>
</cfoutput>
3.
To provide a title that appears in the browser window, insert the following HTML code before
the
<cfoutput query = "TripQuery">
line:
<html><head>
<title> Trip Maintenance - View Record </title>
</head>
<body>
Содержание 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...