Creating a table with a Repeat Region server behavior

Creating a table with a Repeat Region server behavior

The Dynamic Table server object lets you create a table containing dynamic content and apply the Repeat Region behavior from a single dialog box. This server object is especially useful as it simultaneously populates a table with dynamic content from a recordset and applies the Repeat Region server behavior.

To create a dynamic table:

  1. To insert a dynamic table:
    • Select Insert > Application Objects > Dynamic Data > Dynamic Table to display the Dynamic Table dialog box.
    • From the Application category of the Insert bar, select the Dynamic Table button in the Dynamic Data menu.

    The Dynamic Table dialog box appears.

    This is a picture of the feature being described.

  2. Select the recordset you want to use from the Recordset pop-up menu.
  3. Select the number of records to display per page.
  4. Input values for the table border, cell padding, and cell spacing if desired.

    The Dynamic Table dialog box retains the values you enter for table borders, cell padding, and cell spacing. If you are working on a project that will need several dynamic tables requiring the same look, you may want to enter the table layout values, as this will further simplify page development. Note that you can adjust these values after inserting the table using the table Property inspector.

  5. Click OK.

    A table and placeholders for the dynamic content defined in its associated recordset are inserted into the page.

    This is a picture of the feature being described.

    In this example, the recordset contains four records: FIRSTNAME, LASTNAME, TITLE, and DEPARTMENT. The table’s Heading row is populated with the names of each record item. You can edit the headings using any descriptive text you want, or replace them with representative images.



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
Defining Sources of Dynamic Content
Developing Applications Rapidly