Adobe 38040334 - Dreamweaver CS3 User Manual page 302

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Description
Dreamweaver calls this function when a user selects a data source in the tree and clicks the Minus (-) button.
For example, in Dreamweaver, if the selection is a recordset or command, the
calls the
dw.serverBehaviorInspector.deleteServerBehavior()
session, or application variable, the function remembers that the variable was deleted and does not continue to
display it. After the
deleteDynamicSource()
tree and calls the
findDynamicSources()
all the data sources for the user's document.
Arguments
,
sourceName
bindingName
• The
argument is the name of the top-level node to which the child node is associated.
sourceName
• The
argument is the name of the child node.
bindingName
Returns
Dreamweaver expects nothing.
displayHelp()
Description
If this function is defined, a Help button appears below the OK and Cancel buttons in the dialog box. This function
is called when the user clicks the Help button.
Arguments
None.
Returns
Dreamweaver expects nothing.
Example
// The following instance of displayHelp() opens
// a file (in a browser) that explains how to use
// the extension.
function displayHelp(){
var myHelpFile = dw.getConfigurationPath() +
'/ExtensionsHelp/superDuperHelp.htm';
dw.browseDocument(myHelpFile);
}
editDynamicSource()
Availability
Dreamweaver MX.
function returns, Dreamweaver erases the contents of the data source
and
generateDynamicSourceBindings()
deleteDynamicSource()
function. If the selection is a request,
functions to get a new list of
DREAMWEAVER CS3
296
Extending Dreamweaver
function

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents