User Guide

Server behavior functions 409
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 users
document. The array contains JavaScript objects, with one element in the array for each
instance of each participant that is found in the users document. The array is sorted in the
order that the participants appear in the document. Each JavaScript object has the following
properties:
The participantNode property is a pointer to the participant node in the user’s
document.
The participantName property is the name of the participants EDML file (without the
.edml extension).
The parameters property is a JavaScript object that stores all the parameter/value pairs.
The matchRangeMin property defines the character offset from the participant node of the
document to the beginning of the participant content.
The matchRangeMax property is an integer of the participant that defines the offset from
the beginning of the participant node to the last character of the participant content.
dreamweaver.serverBehaviorInspector.getServer
Behaviors()
Availability
Dreamweaver UltraDev 1.
Description
Gets a list of all the behaviors on the page. When Dreamweaver determines that the internal
list of server behaviors might be out of date, it calls the
findServerBehaviors() function for
each currently installed behavior. Each function returns an array. Dreamweaver merges all the
arrays into a single array and sorts it, based on the order that each behaviors
selectedNode
object appears in the document. Dreamweaver stores the merged array internally. The
getServerBehaviors() function returns a pointer to that merged array.
Arguments
None.
Returns
An array of JavaScript objects. The findServerBehaviors() call returns the objects in the
array. The objects are sorted in the order that they appear in the Server Behaviors panel.
000_DW_API_Print.book Page 409 Wednesday, July 20, 2005 11:58 AM