Specifications

529
Description
Specifies the error message to display if an error occurs while the liveDataTranslateMarkup()
function executes in a translator. If the document that Dreamweaver passed to
liveDataTranslate() contains errors, the server passes back an error message that is formatted
using HTML. If the translator (the code that called
liveDataTranslate()) determines that the
server returned an error message, it calls
setLiveDataError() to display the error message in
Dreamweaver. This message is shown after the liveDataTranslateMarkup() function finishes
executing; Dreamweaver displays the description in an error dialog box. The
setLiveDataError() function should be called only from the liveDataTranslateMarkup()
function.
Arguments
source
source
is a string that contains source code, which is parsed and rendered in the error dialog box.
Returns
Nothing.
dreamweaver.setLiveDataMode()
Availability
Dreamweaver UltraDev 1
Description
Toggles the visibility of the Live Data window.
Arguments
bIsVisible
bIsVisible
is a Boolean value that indicates whether the Live Data window should be visible. If
you pass
true to this function and Dreamweaver currently displays the Live Data window, the
effect is the same as if you clicked Refresh.
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 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, though, 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.