MACROMEDIA DREAMWEAVER MX 2004-USING DREAMWEAVER Use Manual page 636

Hide thumbs Also See for DREAMWEAVER MX 2004-USING DREAMWEAVER:
Table of Contents

Advertisement

You can also add the building blocks all at once using the Master/Detail Page Set application
object. For more information, see
ASP, JSP, PHP)" on page
This section covers the steps to building master/detail pages with server behaviors:
"Creating the master page (ColdFusion)" on page 636
"Creating the links to the detail page (ColdFusion)" on page 638
"Creating a URL parameter for the links (ColdFusion)" on page 638
"Finding and displaying the requested record on the detail page (ColdFusion)" on page 639
Creating the master page (ColdFusion)
This section describes how to create a master page that lists database records. You can use a
dynamic table to list the records on a ColdFusion page.
Before you start, make sure you define a ColdFusion data source for your database. For more
information, see
To create a master page:
In Dreamweaver, create a new ColdFusion page.
1
Select File > New > Dynamic, select ColdFusion, and click Create. A blank ColdFusion page
opens in Dreamweaver.
Define a recordset for the page.
2
In the Bindings panel, click the Plus (+) button, select Recordset (Query), and complete the
Recordset dialog box. For more information, click the Help button in the dialog box. If you
want to write your own SQL statement, click the Advanced button to open the advanced
Recordset dialog box.
Make sure the recordset contains all the table columns you need to create your dynamic table.
The recordset must also include the table column containing the unique key of each record—
that is, the record ID column. In the following example, the CODE column contains
information that uniquely identifies each record.
636
Chapter 40: Building ColdFusion Applications Rapidly
"Building master/detail pages in one operation (ColdFusion,
634.
Chapter 24, "Database Connections for ColdFusion Developers," on page
463.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents