332
Chapter 16: Dynamic Documents
Arguments
None.
Returns
A string that contains the initialization tags.
dreamweaver.getLiveDataMode()
Availability
Dreamweaver UltraDev 1.
Description
Determines whether the Live Data window is currently visible.
Arguments
None.
Returns
A Boolean value:
true
if the Live Data window is visible; false otherwise.
dreamweaver.getLiveDataParameters ()
Availability
Dreamweaver MX.
Description
Obtains the URL parameters that are specified as Live Data settings.
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.
You can enter Live Data settings through Dreamweaver in the following ways:
•
Through the Live Data Settings dialog box, which you can activate from the View menu
•
In the URL text field that appears at the top of the document when you click the Live Data
View button on the toolbar
For the
ID
and
Name
parameters, you can enter the following pairs:
ID
22
Name
Samuel
000_DW_API_Print.book Page 332 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...