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 Building master/detail pages (ASP.NET).
This page will become the master page.
You can define a recordset at design time (see Defining a recordset) or the user can define one at runtime (see Building search/results pages (ColdFusion, ASP, JSP, PHP)).
Make sure the recordset contains not only all the columns youll need for the master page, but also all the columns youll 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.
The Master Detail Page Set dialog box appears.
For more information, see Setting the Master Detail Page Set dialog box options.
The application object creates a detail page (if you didnt already create one) and adds dynamic content and server behaviors to both the master and detail pages.
You can fully customize the layout of each page using the Dreamweaver page-design tools. You can also edit the server behaviors by double-clicking them in the Server Behaviors panel.
After creating master/detail pages with the application object, use the Server Behaviors panel (Window > Server Behaviors) to modify the various building blocks the application object inserts into the pages. For more information, see Editing dynamic content on a page.
You can also build master/detail pages using individual server behaviors. For more information, see the following sections: