Adobe 38040334 - Dreamweaver CS3 User Manual page 258

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

Advertisement

The four required properties are
properties as necessary.
For more information, see "dwscripts.findSBs()" on page 253 and
Dreamweaver API Reference.
Arguments
None.
Returns
Dreamweaver expects an array of JavaScript objects; the length of the array is equal to the number of behavior
instances that are found in the page.
inspectServerBehavior()
Availability
Dreamweaver UltraDev 1.
Description
Determines the settings for the Server Behaviors dialog box, based on the specified behavior object. Dreamweaver
calls the
inspectServerBehavior()
calls this function only when a user edits an existing behavior.
Arguments
serverBehavior
The
argument is a JavaScript object that represents the behavior. It is the same object that
serverBehavior
findServerBehaviors()
Returns
Dreamweaver expects nothing.
pasteServerBehavior()
Availability
Dreamweaver UltraDev 1.
Description
If this function is implemented, users can paste instances of the specified server behavior using the
pasteServerBehavior()
of the Clipboard and generates a new behavior object. The new object is identical to the original, except that it lacks
pointer properties. Dreamweaver passes the new behavior object to the
pasteServerBehavior()
user's document. The
pasteServerBehavior()
pasteServerBehavior()
all the server behaviors in the user's document.
Implementing the
pasteServerBehavior()
behavior API functions are called" on page 247.
Note: If you implement this function, you must also implement the copyServerBehavior() function.
,
incomplete
participants
function when a user opens a Server Behavior s dialog box. Dreamweaver
returns.
function. When the user pastes the server behavior, Dreamweaver organizes the contents
function relies on the properties of the behavior object to determine what to add to the
function then adds the behavior to the user's document. After
returns, Dreamweaver calls the
function is optional. For more information, see "How the server
,
, and
title
selectedNode
dreamweaver.getParticipants()
pasteServerBehavior()
findServerBehaviors()
DREAMWEAVER CS3
Extending Dreamweaver
. You can set additional
in the
function. The
functions to get a new list of
252

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents