Live data functions
407
Returns
Nothing.
dreamweaver.setLiveDataParameters()
Availability
Dreamweaver MX.
Description
Sets the URL parameters that you reference in your document for use in Live Data mode.
Live Data mode lets you view a web page in the design stage (as if it has been translated by the
application server and returned). Generating dynamic content to display in Design view lets
you view your page layout with live data and adjust it, if necessary.
Before you view live data, you must enter Live Data settings for any URL parameters that you
reference in your document. This prevents the web server from returning errors for
parameters that are otherwise undefined in the simulation.
You enter the URL parameters in name-value pairs. For example, if you reference the URL
variables
ID
and
Name
in server scripts in your document, you must set these URL parameters
before you view live data.
This function lets you set Live Data values through JavaScript.
Arguments
liveDataString
■
The
liveDataString
argument is a string that contains the URL parameters that you
want to set, in name-value pairs.
Returns
Nothing.
Example
dreamweaver.setLiveDataParameters(“ID=22&Name=Samuel”)
dreamweaver.showLiveDataDialog()
Availability
Dreamweaver UltraDev 1.
000_DW_API_Print.book Page 407 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...