Returns
Dreamweaver expects an array of JavaScript objects where each object can have as many as
five properties, 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
property is the path of a file that contains the icon (a GIF image), which
imageFile
represents the parent node in the tree control in the Dynamic Data or Dynamic Text
dialog box or in the Bindings panel. This property is required.
The
allowDelete
clicks this node in the Bindings panel, the Minus (-) button is disabled. If this property is
set to
, the Minus (-) button is enabled. If the property is not defined, the default is
true
.
true
The
dataSource
findDynamicSources()
function in the Session.htm file, which is located in the Configuration/DataSources/
ASP_Js folder, sets the
The
property is the name of the server behavior that is associated with the data
name
source, if one exists. Some data sources, such as recordsets, are associated with server
behaviors. When you create a recordset and name it
equal
rsAuthors
no server behavior is associated with the data source (such as a session variable).
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
This function generates the dynamic data object for a child node.
394
Data Sources
property is always required.
property is optional. If this property is set to
property is the simple name of the file in which the
function is defined. For example, the
property to session.htm. This property is required.
dataSource
. The
property is always defined, but can be an empty string (
name
, when the user
false
findDynamicSources()
, the
rsAuthors
name
attribute must
) if
""
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?