Operation Manual
549
USING DREAMWEAVER
Making pages dynamic
Last updated 3/28/2012
Change a content source in the Bindings panel
1 In the Bindings panel (Window > Bindings), double-click the name of the content source you want to edit.
2 Make your changes in the dialog box that appears.
3 If satisfied with your work, click OK.
Delete a content source from the Bindings panel
1 In the Bindings panel (Window > Bindings), select the content source from the list.
2 Click the Minus (-) button.
Copy a recordset from one page to another page
You can copy a recordset from one page to another within a defined site.
1 Select the recordset in either the Bindings panel or the Server Behaviors panel.
2 Right-click the recordset, and select Copy from the pop-up menu.
3 Open the page you want to copy the recordset to.
4 Right-click the Bindings panel or the Server Behaviors toolbar, and select Paste from the pop-up menu.
More Help topics
“About dynamic content sources” on page 529
“Change or delete content sources” on page 548
Adding dynamic content to pages
About adding dynamic content
After you define one or more sources of dynamic content, you can use the sources to add dynamic content on the page.
Content sources can include a column in a recordset, a value submitted by an HTML form, the value contained in a
server object, or other data.
In Dreamweaver, you can place dynamic content almost anywhere in a web page or its HTML source code. You can
place dynamic content at the insertion point, replace a text string, or insert it as an HTML attribute. For example,
dynamic content can define the
src attribute of an image, or the value attribute of a form field.
You can add dynamic content to a page by selecting a content source in the Bindings panel. Dreamweaver inserts a
server-side script in the page’s code instructing the server to transfer the data from the content source to the page’s
HTML code when the page is requested by a browser.
There is often more than one way to make a given page element dynamic. For example, to make an image dynamic
you can use the Bindings panel, the Property inspector, or the Image command in the Insert menu.
By default, an HTML page can display only one record at a time. To display the other records in the recordset, you can
add a link to move through the records one at a time, or you can create a repeating region to display more than one
record on a single page.