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 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:
■
The
participantNode
property is a pointer to the participant node in the user’s
document.
■
The
participantName
property is the name of the participant’s 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 behavior’s
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
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...