Adobe 38040334 - Dreamweaver CS3 User Manual page 304

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

generateDynamicDataRef()
Availability
Dreamweaver UltraDev 1.
Description
This function generates the dynamic data object for a child node.
Arguments
,
sourceName
bindingName
• The
argument is the name of the top-level node that is associated with the child node.
sourceName
• The
argument is the name of the child node from which you want to generate a dynamic
bindingName
data object.
Returns
Dreamweaver expects a string, which can be passed to the
inserting it in a user's document.
generateDynamicSourceBindings()
Availability
Dreamweaver UltraDev 1.
Description
This function returns the children of a top-level node.
Arguments
sourceName
• The
argument is the name of the top-level node whose children you want to return.
sourceName
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 node. This property is
title
required.
• The
property is optional. If this property is set to the value
allowDelete
in the Bindings panel, the Minus (-) button is disabled. If this property is set to the value
button is enabled. If the property is not defined, the default is the value
• The
property is the simple name of the file in which the
dataSource
defined. For example, the
Configuration/DataSources/ASP_Js folder, sets the
required.
• The
property is the name of the server behavior that is associated with the data source, if one exists. It is a
name
required property. Some data sources, such as recordsets, are associated with server behaviors. When you create
a recordset and name it
rsAuthors
variables, do not have a corresponding server behavior. Their name property must be the empty string (
function in the Session.htm file, which is located in the
findDynamicSources()
dataSource
, the
property must equal
name
formatDynamicDataRef()
, when the user clicks this node
false
.
true
findDynamicSources()
property to
session.htm
. Other data sources, such as session
rsAuthors
DREAMWEAVER CS3
Extending Dreamweaver
function to format it before
, the Minus (-)
true
function is
. This property is
).
""
298

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents