Macromedia dreamweaver 8-using dreamweaver Manual De Usuario

Descargar
Página de 1030
Building master/detail pages (ColdFusion)
839
Building master/detail pages in one operation 
(ColdFusion, ASP, JSP, PHP)
When developing web applications, you can quickly build master/detail pages using the 
Master/Detail Page Set application object. An application object lets you build a complete set 
of dynamic pages by completing only one or two dialog boxes. 
The method you use is identical for ColdFusion, ASP, JSP, and PHP pages. For information 
on building ASP.NET master/detail pages, see 
To complete the master/detail page set with an application object:
1.
In Dreamweaver, create a blank dynamic page by selecting File > New > Dynamic, selecting 
a dynamic page, and clicking Create.
This page will become the master page.
2.
Define a recordset for the page.
You can define a recordset at design time (see 
) or the 
user can define one at runtime (see 
Make sure the recordset contains not only all the columns you’ll need for the master page, 
but also all the columns you’ll need for the detail page. Typically, the recordset on the 
master page extracts a few columns from a database table while the recordset on the detail 
page extracts more columns from the same table to provide the extra detail.
3.
Open the master page in Design view and select Insert > Application Objects > 
Master Detail Page Set.