Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Vista

Dreamweaver CS5 : Standard Server Behaviors (part 3) - Go To Detail Page, Related Page & Insert Record

- Windows 10 Product Activation Keys Free 2019 (All Versions)
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
7/12/2012 6:03:46 PM

6. Go To Detail Page

The Go To Detail Page server behavior is used in master-detail Web applications to navigate from a chosen link on the master page to a designated detail page. This server behavior passes a unique record ID via the URL query string method. The Go To Detail Page server behavior is only available with ASP VBScript.

Requirements: A selected page element and at least one recordset.

To attach a Go To Detail Page server behavior, follow these steps:

  1. Select the page element — text, graphic, or dynamic data — you'd like to use as the link to the detail page.

  2. From the Server Behaviors panel, click the Add (+) button and select Go To Detail Page from the drop-down list. The Go To Detail Page dialog box, shown in Figure 6, is displayed.

    Figure 6. Specify the linking parameter sent from the master page in the Go To Detail Page server behavior.
  3. Make sure that the page element selected is represented in the Link field. If no selection was made, Dreamweaver creates a new Detail text link.

  4. Enter the path to the detail page in the Detail Page field or click Browse to locate the file in the Select File dialog box.

  5. Enter the variable name you'd like to be sent in the Pass URL Parameter field. You can use a name of your own choosing or the name of the field in the database. Whichever name you decide upon, make a note of it somewhere because you need to reference it when the detail page itself is constructed.

  6. Select the recordset of the URL parameter from the Recordset list.

  7. From the Column list, choose the field to which the URL parameter's value is related.

  8. Unless you have preexisting URL or Form parameters to send to the detail page, leave the Pass Existing Parameters options unchecked.

  9. Click OK when you're finished.


7. Go To Related Page

The Go To Related Page server behavior links to a new page that conveys the form and/or URL variables previously passed to the current page.

Requirements: A selected page element and at least one recordset. The page on which the server behavior is inserted must have had form or URL values passed to it.

To attach a Go To Related Page server behavior, follow these steps:

  1. Select the page element — text, image, or dynamic data — you'd like to use as the trigger for your behavior.

  2. From the Server Behaviors panel, click the Add (+) button and select Go To Related Page from the list. The Go To Related Page server behavior dialog box appears, as shown in Figure 7.

    Figure 7. The Go To Related Page server behavior can convey form values, URL values, or both to another dynamic page.
  3. In the dialog box, verify that the text or code for the selected element displayed in the Link field is correct.

  4. Enter the path to the target page in the Related Page field or click Browse to locate an existing dynamic page.

  5. If you want to carry over values received from a query string, select the URL Parameters option.

  6. If you want to pass values received from a form, select the Form Parameters option.

  7. Click OK when you're finished.


8. Insert Record

The Insert Record server behavior adds a new record to a chosen table in a data source.

Requirements: A form with form elements and a Submit button.

To add the Insert Record server behavior, follow these steps:

  1. From the Server Behaviors panel, click the Add (+) button and select Insert Record. The Insert Record dialog box appears, as shown in Figure 8.

    Figure 8. Users may add new data directly to a connected data source.
  2. From the Insert Record dialog box, choose the connection from the drop-down list. If you need to establish a new connection, click Define.

  3. Select the data table you want to use from the Insert table list.

  4. Enter the path to the destination page in the After Inserting, Go To field, or click the Browse button to locate the file. It's important that you select a confirmation or other page to go to after the form is submitted. If you don't, no feedback is provided to the user, and no change is apparent.

  5. Select the name of the form to be used from the Get Values From list. If there is only one form on the page, the form is preselected.

  6. For each object listed in the Form Elements area:

    • Select the data source field into which the form object's value is to be inserted from the Columns list.

    • Choose the data source type for the data from the Submit As list. The options are Text; Numeric; Date; Date MS Access; Checkbox Y, N; Checkbox 1,0; Check −1,0; and Checkbox MS Access.

    NOTE

    Be sure to give your form fields meaningful names so you can easily choose which form field goes into each database column.

  7. Click OK when you're finished.

Other -----------------
- Dreamweaver CS5 : Standard Server Behaviors (part 2) - Recordset Paging, Move To Specific Record & Show Region
- Dreamweaver CS5 : Standard Server Behaviors (part 1) - Recordset & Repeat Region
- CorelDRAW X5 : Text and Styles
- CorelDRAW X5 : Wrapping Text Around Other Shapes
- Adobe Illustrator CS5 : Working with Layers - Flattening Layers & Locating Objects in the Layers Panel
- Adobe Illustrator CS5 : Working with Layers - Moving Objects to a Layer
- Adobe Photoshop CS5 : The Essential Adjustments: White Balance
- Adobe Photoshop CS5 : Miss the JPEG Look? Try Applying a Camera Profile
- Adobe Fireworks CS5 : Working with Adobe AIR (part 4) - Installing the prototype
- Adobe Fireworks CS5 : Working with Adobe AIR (part 3) - Creating an AIR prototype
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
Celebrity Style, Fashion Trends, Beauty and Makeup Tips.
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server