Operation Manual

552
USING DREAMWEAVER
Making pages dynamic
Last updated 3/28/2012
Make HTML attributes dynamic with the Property inspector
1 In Design view, select an HTML object and open the Property inspector (Window > Properties).
For example, to select an HTML table, click inside the table and click the <table> tag in the tag selector on the bottom-
left of the Document window.
2 How you bind a dynamic content source to the HTML attribute depends on where it is located.
If the attribute you want to bind has a folder icon next to it in the Property inspector, click the folder icon to open
a file selection dialog box; then click the Data Sources option to display a list of data sources.
If the attribute you want to bind does not have a folder icon next to it, click the List tab (the lower of the two tabs)
on the left side of the inspector.
The Property inspector’s List view appears.
If the attribute you want to bind is not listed in the List view, click the Plus (+) button; then enter the attribute’s
name or click the small arrow button and select the attribute from the pop-up menu.
3 To make the attribute’s value dynamic, click the attribute; then click the lightning-bolt icon or folder icon at the
end of the attribute’s row.
If you clicked the lightning bolt icon, a list of data sources appears.
If you clicked the folder icon, a file selection dialog box appears. Select the Data Sources option to display a list of
content sources.
4 Select a source of content from the list of content sources, and click OK.
The content source should hold data that’s appropriate for the HTML attribute you want to bind. If no content sources
appear in the list, or if the available content sources don’t meet your needs, define a new content source.
The next time the page runs on the application server, the value of the data source will be assigned to the HTML
attribute.
Make ActiveX, Flash, and other object parameters dynamic
You can make the parameters of Java applets and plug-ins dynamic, as well as the parameters of ActiveX, Flash,
Shockwave, Director, and Generator objects.
Before starting, make sure the fields in your recordset hold data that’s appropriate for the object parameters you want
to bind.
1 In Design view, select an object on the page and open the Property inspector (Window > Properties).
2 Click the Parameters button.
3 If your parameter does not appear in the list, click the Plus (+) button and enter a parameter name in the Parameter
column.
4 Click the parameter’s Value column, and then click the lightning-bolt icon to specify a dynamic value.
A list of data sources appears.
5 Select a data source from the list, and click OK.
The data source should hold data that’s appropriate for the object parameter you want to bind. If no data sources
appear in the list, or if the available data sources don’t meet your needs, define a new data source.
More Help topics
Defining sources of dynamic content” on page 536