334
Server Behaviors
Description
Determines the settings for the Server Behavior dialog box, based on the specified behavior
object. Dreamweaver calls the
inspectServerBehavior()
function when a user opens a
Server Behavior dialog box. Dreamweaver calls this function only when a user edits an existing
behavior.
Arguments
serverBehavior
■
The
serverBehavior
argument is a JavaScript object that represents the behavior. It is
the same object that
findServerBehaviors()
returns.
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()
function. When the user pastes the server behavior,
Dreamweaver 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
pasteServerBehavior()
function. The
pasteServerBehavior()
function relies on the properties of the behavior object to
determine what to add to the user’s document. The
pasteServerBehavior()
function then
adds the behavior to the user’s document. After
pasteServerBehavior()
returns,
Dreamweaver calls the
findServerBehaviors()
functions to get a new list of all the server
behaviors in the user’s document.
Implementing the
pasteServerBehavior()
function is optional. For more information, see
“How the Server Behavior API functions are called” on page 326
.
Arguments
behavior
■
The
behavior
JavaScript object represents the behavior.
NO
T
E
If you implement this function, you must also implement the
copyServerBehavior()
function.
Содержание DREAMWEAVER 8-EXTENDING DREAMWEAVER
Страница 1: ...Extending Dreamweaver...
Страница 8: ...8 Contents...
Страница 14: ...14 Introduction...
Страница 16: ......
Страница 54: ...54 Customizing Dreamweaver...
Страница 96: ...96 Customizing Code View...
Страница 98: ......
Страница 110: ...110 Extending Dreamweaver...
Страница 138: ......
Страница 166: ...166 Insert Bar Objects...
Страница 180: ...180 Commands...
Страница 248: ...248 Toolbars...
Страница 260: ...260 Reports...
Страница 278: ...278 Tag Libraries and Editors...
Страница 288: ...288 Property Inspectors...
Страница 378: ...378 Server Behaviors...
Страница 398: ...398 Data Sources...
Страница 432: ...432 Server Models...
Страница 456: ...456 Data Translators...
Страница 482: ......
Страница 492: ...492 The Shared Folder...