6. Click OK when you??™re finished.
Although Dreamweaver provides this method for creating a detail page??”and I??™ve covered it
here for the sake of completeness??”it??™s really not the recommended method. Because this
technique relies on the use of a full recordset, it is far more resource-intensive than the filtered recordset
method. However, this method is required if you are going to use Recordset Paging.
Automating Master-Detail Page production
Although Dreamweaver has made crafting master detail Web applications by hand extremely accessible, it
can be a tedious series of steps, especially if you have to produce a number of applications for a site. To ease
the monotony??”and enhance your production efforts??”Dreamweaver includes the Master-Detail Page Set
application object that, after a single dialog box is completed, creates all the elements for a linked masterdetail
Web application.
The master page elements are inserted in the current document, which must contain a recordset. The
inserted elements and code, shown in Figure 23-5, are as follows:
n A two-row table with a column for each field
n A header row comprised of all the field names selected in the dialog
CAUTION CAUTION
734
Incorporating Dynamic Data Part IV
n Dynamic text for all selected fields, placed into the second row
n A Repeat Region server behavior surrounding the second row
n A Go To Detail Page server behavior linking to the newly created detail page
n A recordset navigation bar with text links and appropriate Show Region server behaviors in place
n A recordset status bar showing the current record count
FIGURE 23-5
The Master-Detail Page Set application object adds all the designated fields and the required server behaviors to the
current page.
Pages:
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279