MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 328

Extending dreamweaver
Table of Contents

Advertisement

If the user edits an existing server behavior by double-clicking it, Dreamweaver displays
the dialog box, executes the
the
inspectServerBehavior()
populates the form elements with the current parameter values. When the user clicks OK,
Dreamweaver calls the
If the user clicks the Minus (-) button, the
The
deleteServerBehavior()
When the user selects a server behavior and uses the Cut or Copy commands,
Dreamweaver passes the object that represents the server behavior to its
copyServerBehavior()
properties to the server behavior object that are needed to paste it later.
After the
copyServerBehavior()
behavior object to a form that can be put on the Clipboard. When Dreamweaver converts
the object, it deletes all the properties that reference objects; every property on the object
that is not a number, Boolean value, or string is lost.
When the user uses the Paste command, Dreamweaver unpacks the contents of the
Clipboard and generates a new server behavior object. The new object is identical to the
original, except that it does not have properties that reference objects. Dreamweaver passes
the new server behavior object to the
pasteServerBehavior()
pasteServerBehavior()
findServerBehaviors()
document.
Users can copy and paste behaviors from one document to another. The
copyServerBehavior()
properties on the behavior object to exchange information.
328
Server Behaviors
handler on the
onLoad
function. The
applyServerBehavior()
function removes the behavior from the document.
function. The
copyServerBehavior()
function returns, Dreamweaver converts the server
pasteServerBehavior()
function adds the behavior to the user's document. After the
function returns, Dreamweaver calls the
function to get a new list of all the server behaviors in the user's
and
pasteServerBehavior()
tag, if one exists, and then calls
BODY
inspectServerBehavior()
function again.
deleteServerBehavior()
functions should rely only on
function
function is called.
function adds any other
function. The

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents