Creating the links to the detail page (ColdFusion)

Creating the links to the detail page (ColdFusion)

After adding the dynamic table to the master page (see Creating the master page (ColdFusion)), you must create links that open the detail page. This section describes how to create the links. The next section describes how to modify the link so that it also passes the ID of the record that the user selects. The detail page will use this ID to find the requested record in the database and display it.

To create links to the detail page:

  1. In the repeated row in the dynamic table, select the text or image that will serve as a link.

    In the following example, the {rsLocations.LOCATION_NAME} placeholder is selected. The links will be applied to the location names in the column.

    This is a picture of the feature being described.

  2. In the Property inspector, click the folder icon beside the Link text box.
  3. Browse and select the detail page.

    The detail page appears in the Link text box in the Property inspector.

    In the dynamic table, the selected text appears linked. When the page runs on the server, the link is applied to the text in every table row.

The next step is to create a URL parameter that passes the record ID to the detail page. See Creating a URL parameter for the links (ColdFusion).

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
Building ASP.NET Applications Rapidly
Building ASP and JSP Applications Rapidly