150
Chapter 11: Application
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()
function returns a string to
insert into the user’s document. (This string returns from the Data Sources API function,
generateDynamicDataRef()
, and passes to the Data Format API function,
formatDynamicDataRef()
; the return value from
formatDynamicDataRef()
is the one that the
showDynamicDataDialog()
function returns.)
Arguments
source
,
{title}
•
The
source
argument is a string that contains source code, which represents the dynamic data
object. It is the same string that a previous call to this function returned. The function uses the
contents of the
source
argument 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
inspectDynamicDataRef()
function to determine if
the string matches any 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
title
argument, which is optional, is a string that contains the text to display in the title
bar of the dialog 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.
000_DW_API_Print.book Page 150 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...