User Guide
406 Dynamic Documents
dreamweaver.setLiveDataError()
Availability
Dreamweaver UltraDev 1.
Description
Specifies the error message that appears 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 appears
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
■ The source argument 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
■ The bIsVisible argument 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 the Refresh button.
000_DW_API_Print.book Page 406 Wednesday, July 20, 2005 11:58 AM