Setting the Master Detail Page Set dialog box options

Setting the Master Detail Page Set dialog box options

The purpose of this dialog box is to create a master page and a corresponding detail page. This application object is available only when working on ColdFusion, ASP, PHP, or JSP sites.

To set the dialog box options:

  1. In the Recordset pop-up menu, make sure the recordset containing the records you want to display on the master page is chosen.
  2. In the Master Page Fields area, select the recordset columns to display on the master page.

    By default, Dreamweaver selects all the columns in the recordset. If your recordset contains a unique key column such as recordID, select it and click the Minus (-) button so that it is not displayed on your page.

  3. If you want to change the order in which the columns appear on the master page, select a column in the list and click the up or down arrow.

    On the master page, the recordset columns will be arranged horizontally in a table. Clicking the up arrow moves the column to the left; clicking the down arrow moves the column to the right.

  4. In the Link To Detail From pop-up menu, select the column in the recordset that will display a value that also serves as a link to the detail page.

    For example, if you want each product name on your master page to have a link to the detail page, select the recordset column containing product names.

  5. In the Pass Unique Key pop-up menu, select the column in the recordset containing values identifying the records.

    Usually, the column chosen is the record ID number. This value is passed to the detail page so that it can identify the record chosen by the user.

  6. Deselect the Numeric checkbox if the unique key column is not numeric.
  7. Specify the number of records to display on the master page.
  8. In the Detail Page Name text box, click Browse and locate the detail page file you created, or enter a name and let the application object create one for you.
  9. In the Detail Page Fields area, select the columns to be displayed on the detail page.

    By default, Dreamweaver selects all the columns in the master page’s recordset. If the recordset contains a unique key column such as recordID, select it and click the Minus (-) button so that it is not displayed on the detail page.

  10. If you want to change the order in which the columns appear on the detail page, select a column in the list and click the up or down arrow.

    On the detail page, the recordset columns will be arranged vertically in a table. Clicking the up arrow moves the column up; clicking the down arrow moves the column down.

  11. Click OK.

    The application object creates a detail page (if you didn’t already create one) and adds dynamic content and server behaviors to both the master and detail pages.

Related topics

  • Building master/detail pages in one operation (ColdFusion, ASP, JSP, PHP)


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly
Building ColdFusion Applications Rapidly
Reference
Building ASP.NET Applications Rapidly
Building ASP and JSP Applications Rapidly