Arguments
,
sourceName
bindingName
•
The
sourceName
child node.
•
The
bindingName
dynamic data object.
Returns
Dreamweaver expects a string, which can be passed to the
format it before inserting it in a user's document.
generateDynamicSourceBindings()
Availability
Dreamweaver UltraDev 1.
Description
Returns the children of a top-level node.
Arguments
sourceName
•
The
sourceName
to return.
Returns
Dreamweaver expects an array of JavaScript objects where each object can have as many as
four properties, which are described in the following list:
•
The
property is the label string that appears on the right of the icon for each parent
title
node. The
title
•
The
allowDelete
clicks this node in the Bindings panel, the Minus (-) button is disabled. If this property is set to
the value
true
the value
true
•
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. This is a required property.
•
The
property is the name of the server behavior that is associated with the data source, if
name
one exists. It is a required property. Some data sources, such as recordsets, are associated with
server behaviors. When you create a recordset and name it
must equal
rsAuthors
corresponding server behavior. Their name property must be the empty string (
Note: A JavaScript class that defines these properties exists in the DataSourceClass.js file, which is
located in the Configuration/Shared/Common/Scripts folder.
298
Chapter 16: Data Sources
argument is the name of the top-level node that is associated with the
argument is the name of the child node from which you want to generate a
argument is the name of the top-level node whose children you want
property is required.
property is optional. If this property is set to the value
, the Minus (-) button is enabled. If the property is not defined, the default is
.
property is the simple name of the file in which the
. Other data sources, such as session variables, do not have a
formatDynamicDataRef()
findDynamicSources()
rsAuthors
function to
, when the user
false
findDynamicSources()
function in the Session.htm
dataSource
, the name property
).
""
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers