MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 381

Extending dreamweaver
Table of Contents

Advertisement

Request
NameOfRequestVariable
NameOfAnotherRequestVariable
Session
NameOfSessionVariable
4.
If the user double-clicks on a data source name in the Bindings panel to edit the data
source, Dreamweaver calls the
within the tree.
5.
If the user clicks the Minus (-) button, Dreamweaver gets the current node selection from
the tree and passes it to the
was added earlier with the
selection, the function returns an error message. After the
function returns, Dreamweaver refreshes the data source tree by calling the
findDynamicSources()
6.
If the user selects a data source and clicks OK in the Dynamic Data or the Dynamic Text
dialog box, or clicks Insert or Bind in the Bindings panel, Dreamweaver calls the
generateDynamicDataRef()
current insertion point.
7.
If the user displays the Dynamic Data or the Dynamic Text dialog box to edit an existing
dynamic data object, the selection in the data source tree needs to be initialized to the
dynamic data object. To initialize the tree control, Dreamweaver goes through each file in
the appropriate server model folder (for example, the Configuration/DataSources/ASP_Js
folder), calling the implementation of the
file.
Dreamweaver calls the
object back from the code in the user's document to an item in the tree. (This process is
the reverse of what occurs when the
the
inspectDynamicDataRef()
Dreamweaver shows with a visual cue which item in the tree is bound to the current
selection.
editDynamicSource()
deleteDynamicSource()
addDynamicSource()
and the
generateDynamicSourceBindings()
function. The return value is inserted in the document at the
inspectDynamicDataRef()
inspectDynamicDataRef()
generateDynamicDataRef()
function returns an array that contains two elements,
function to handle the user edits
function, which deletes the code that
function. If it cannot delete the current
deleteDynamicSource()
function to convert the dynamic data
function is called.) If
How data sources work
functions.
function in each
381

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