Adobe 38040334 - Dreamweaver CS3 User Manual page 119

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

dreamweaver.showDynamicDataDialog()
Availability
Dreamweaver UltraDev 1.
Description
Displays the Dynamic Data or the Dynamic Text dialog box, and waits for the user to dismiss the dialog box. If the
user clicks OK, the
showDynamicDataDialog()
string returns from the Data Sources API function,
API function,
formatDynamicDataRef()
showDynamicDataDialog()
Arguments
source, {title}
• The
argument is a string that contains source code, which represents the dynamic data object. It is the
source
same string that a previous call to this function returned. The function uses the contents of the
to initialize all the dialog box controls, so they appear exactly as when the user clicked OK to create this string.
Dreamweaver passes this string to the
of the nodes in the tree. If the string matches a node, that node is selected when the dialog box appears. You can also
pass an empty string, which does not initialize the dialog box. For example, a dialog box is not initialized when used
to create a new item.
• The
argument, which is optional, is a string that contains the text to display in the title bar of the dialog
title
box. If this argument is not supplied, Dreamweaver displays Dynamic Data in the title bar.
Returns
A string that represents the dynamic data object, if the user clicks OK.
dreamweaver.showPasteSpecialDialog()
Availability
Dreamweaver 8
Description
This function displays the Paste Special dialog box. If the user clicks OK, the
performs the paste.
Arguments
None.
Returns
Nothing.
Example
dw.showPasteSpecialDialog();
function returns a string to insert into the user's document. (This
generateDynamicDataRef()
; the return value from
function returns.)
inspectDynamicDataRef()
, and passes to the Data Format
formatDynamicDataRef()
function to determine if the string matches any
showPasteSpecialDialog()
DREAMWEAVER CS3
API Reference
is the one that the
argument
source
function
114

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents