Server Behavior Functions - Adobe 38040334 - Dreamweaver CS3 User Manual

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
323
API Reference
Example
dreamweaver.setLiveDataParameters("ID=22&Name=Samuel")
dreamweaver.showLiveDataDialog()
Availability
Dreamweaver UltraDev 1.
Description
Displays the Live Data Settings dialog box.
Arguments
None.
Returns
Nothing.

Server behavior functions

Server behavior functions let you manipulate the Server Behaviors panel, which you can display by selecting
Window > Server Behaviors. Using these functions, you can find all the server behaviors on a page and programmat-
ically apply a new behavior to the document or modify an existing behavior.
Note: You can abbreviate
to
dw.serverBehaviorInspector
dw.sbi.
dreamweaver.getParticipants()
Availability
Dreamweaver UltraDev 4.
Description
The JavaScript function,
, gets a list of participants from the user's document.
dreamweaver.getParticipants()
After Dreamweaver finds all the behavior's participants, it stores those lists. Typically, you use this function with the
function (for more information, see "Server Behaviors" in Extending Dreamweaver) to
findServerBehaviors()
locate instances of a behavior in the user's document.
Arguments
edmlFilename
• The
argument is the name of the group or participant file that contains the names of the partici-
edmlFilename
pants to locate in the user's document. This string is the filename, without the .edml extension.
Returns
This function returns an array that contains all instances of the specified participant (or, in the case of a group file,
any instance of any participant in the group) that appear in the user's document. The array contains JavaScript
objects, with one element in the array for each instance of each participant that is found in the user's document. The
array is sorted in the order that the participants appear in the document. Each JavaScript object has the following
properties:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents