User Guide
334 Chapter 16: Dynamic Documents
Returns
An httpReply object. This object is the same as the value that the MMHttp.getText() function
returns. If the user clicks the Stop icon, the return value’s
httpReply.statusCode is equal to 200
(Status OK) and its
httpReply.data is equal to the empty string. For more information on the
httpReply object, see Chapter 3, “The HTTP API,” on page 43.
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.
Returns
Nothing.
000_DW_API_Print.book Page 334 Wednesday, August 20, 2003 9:14 AM