Setting the Go To Related Page dialog box options (ASP and JSP)

Setting the Go To Related Page dialog box options (ASP and JSP)

The purpose of this dialog box is to create a link that opens a related page and that passes existing parameters to that page. The server behavior is only available when using the ASP or JSP server models.

Before adding a Go to Related Page server behavior to a page, make sure the page receives form or URL parameters from another page. The job of the server behavior is to pass these parameters to a third page. For example, you can pass search parameters received by a results page to another page and save the user from entering the search parameters again.

Also, you can select text or an image on the page to serve as the link to the related page, or you can position your pointer on the page without selecting anything and Dreamweaver will insert link text for you.

To set the dialog box options:

  1. In the Related Page box, click Browse and locate the related page file.

    If the current page submits data to itself, enter the current page’s filename.

  2. If the parameters you want to pass were received directly from an HTML form using the GET method, or are listed in the page’s URL, select the URL Parameters option.
  3. If the parameters you want to pass were received directly from an HTML form using the POST method, select the Form Parameters option.
  4. Click OK.

When the new link is clicked, the page passes the parameters to the related page using a query string.

Related topics

  • Collecting data submitted by users


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