Inspectserverbehavior(); Pasteserverbehavior() - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

inspectServerBehavior()

Availability
Dreamweaver UltraDev 1.
Description
Determines the settings for the Server Behavior dialog box, based on the specified behavior
object. Dreamweaver calls the
Behavior dialog box. Dreamweaver calls this function only when a user edits an existing behavior.
Arguments
serverBehavior
The
serverBehavior
same object that
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()
organizes the contents 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
function relies on the properties of the behavior object to determine what to add to the user's
document. The
document. After
findServerBehaviors()
document.
Implementing the
"How the Server Behavior API functions are called" on page
Note: If you implement this function, you must also implement the
Arguments
behavior
The
behavior
Returns
Dreamweaver expects a Boolean value:
Clipboard;
false
inspectServerBehavior()
argument is a JavaScript object that represents the behavior. It is the
findServerBehaviors()
function. When the user pastes the server behavior, Dreamweaver
pasteServerBehavior()
pasteServerBehavior()
pasteServerBehavior()
functions to get a new list of all the server behaviors in the user's
pasteServerBehavior()
JavaScript object represents the behavior.
otherwise.
function when a user opens a Server
returns.
function. The
function then adds the behavior to the user's
returns, Dreamweaver calls the
function is optional. For more information, see
if the behavior pastes successfully from the
true
pasteServerBehavior()
251.
copyServerBehavior()
The Server Behavior API
function.
257

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents