Returns
Dreamweaver expects a Boolean value:
otherwise.
false
findDynamicSources()
Availability
Dreamweaver UltraDev 1.
Description
Returns the top-level nodes from the data source tree that appears in the Dynamic Data or the
Dynamic Text dialog box or in the Bindings panel. Each data source file has an implementation
of the
findDynamicSources()
reads through all the files in the DataSources folder and calls the
function in each file.
Returns
Dreamweaver expects an array of JavaScript objects where each object can have as many as
five attributes, which are described in the following list:
•
The
property is the label string that appears to the right of the icon for each parent
title
node. The
title
•
The
imageFile
represents the parent node in the tree control in the Dynamic Data or the Dynamic Text dialog
box or in the Bindings panel. The
•
The
allowDelete
user clicks this node in the Bindings panel, the Minus (-) button is disabled. If the property is
set to the value
default is the value
•
The
dataSource
function is defined. For example, the
file, which is located in the Configuration/DataSources/ASP_Js folder, sets the
property to session.htm. The
•
The
property is the name of the server behavior that is associated with the data source, if
name
one exists. Some data sources, such as recordsets, are associated with server behaviors. When
you create a recordset and name it
property is always defined, but can be an empty string (
name
associated with the data source (such as a session variable).
Note: A JavaScript class that defines these properties exists in the DataSourceClass.js file, which is
located in the Configuration/Shared/Common/Scripts folder.
generateDynamicDataRef()
Availability
Dreamweaver UltraDev 1.
Description
Generates the dynamic data object for a child node.
true
function. When Dreamweaver refreshes the tree, Dreamweaver
property is always required.
property is the path of a file that contains the icon (a GIF image), which
imageFile
property is optional. If this property is set to a value of
, the Minus (-) button is enabled. If the property is not defined, the
true
.
true
property is the simple name of the file in which the
dataSource
rsAuthors
if the function has handled the edit;
property is required.
findDynamicSources()
property is required.
, the name property must equal
findDynamicSources()
, when the
false
findDynamicSources()
function in the Session.htm
dataSource
rsAuthors
) if no server behavior is
""
The Data Sources API
. The
297
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?