MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 405

Extending dreamweaver
Table of Contents

Advertisement

Returns
Dreamweaver expects nothing.
formatDynamicDataRef()
Availability
Dreamweaver UltraDev 1.
Description
Adds the format function call to the dynamic data object. When a user selects a format from
the Format text box in the Dynamic Data or the Dynamic Text dialog box or in the Bindings
panel, Dreamweaver makes two changes to the user's document: It adds the appropriate
format function before the HTML tag (if it's not already there), and it changes the dynamic
data object to call the appropriate format function.
Dreamweaver adds the function declaration by calling the
function in the data format file. It changes the dynamic data object by calling the
formatDynamicDataRef()
The
formatDynamicDataRef()
Format text box in the Dynamic Data or the Dynamic Text dialog box or in the Bindings
panel. It does not edit the user's document.
Arguments
dynamicDataObject
The
dynamicDataObject
The
argument is a JavaScript object that describes the format to apply. The
format
JavaScript object is the node that corresponds to the
The object has a JavaScript property for each attribute of the corresponding
Returns
Dreamweaver expects the new value for the dynamic data object.
If an error occurs, the function displays an alert message under certain conditions. If the
function returns an empty string, the Format text box is set to
function.
function is called when the user selects a format from the
,
format
argument is a string that contains the dynamic data object.
JavaScript
applyFormat()
tag in the Formats.xml file.
format
.
None
The Server Formats API
tag.
format
405

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents