The Data Sources Api - MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Table of Contents

Advertisement

The Data Sources API

The functions in the Data Sources API let you find, add, edit, and delete data sources and also
generate and inspect dynamic data objects.
addDynamicSource()
Availability
Dreamweaver UltraDev 1.
Description
This function adds a dynamic data source. Because there is one implementation of this
function in each data source file, Dreamweaver calls the appropriate implementation of the
function when you select a data source from the Plus (+) menu.
addDynamicSource()
For example, for recordsets or commands, Dreamweaver calls the
function, which inserts a new
dw.serverBehaviorInspector.popupServerBehavior()
server behavior into the document. For request, session, and application variables,
Dreamweaver displays an HTML/JavaScript dialog box to collect the name of the variable;
the behavior stores the variable name for future use.
After the
function returns, Dreamweaver erases the contents of the
addDynamicSource()
data source tree and calls the
and
findDynamicSources()
functions to repopulate the data source tree.
generateDynamicSourceBindings()
Returns
Dreamweaver expects nothing.
deleteDynamicSource()
Availability
Dreamweaver UltraDev 1.
Description
Dreamweaver calls this function when a user selects a data source in the tree and clicks the
Minus (-) button.
The Data Sources API
391

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents