copyServerBehavior()
Availability
Dreamweaver UltraDev 1.
Description
Implementing the
specified server behavior. In the following example, this function is implemented for recordsets. If
a user selects a recordset in the Server Behaviors panel or the Data Binding panel, using the Copy
command copies the behavior to the Clipboard; using the Cut command cuts the behavior to the
Clipboard. For server behaviors that do not implement this function, the Copy and Cut
commands do nothing. For more information, see
called" on page
The
copyServerBehavior()
converted into strings to exchange information with the
Clipboard stores only raw text, so
the resulting raw text should be saved into a secondary property.
Note: The
pasteServerBehavior()
behavior into any Dreamweaver document.
Arguments
serverBehavior
•
The
serverBehavior
Returns
Dreamweaver expects a Boolean value:
otherwise.
false
deleteServerBehavior()
Availability
Dreamweaver UltraDev 1.
Description
Removes the behavior from the user's document. It is called when the user clicks the Minus (-)
button on the Server Behaviors panel. It can edit a user's document.
For more information, see
Arguments
serverBehavior
•
The
serverBehavior
Returns
Dreamweaver expects nothing.
copyServerBehavior()
251.
function should rely only on behavior object properties that can be
participant
function must also be implemented to let the user paste the
JavaScript object represents the behavior.
"dwscripts.deleteSB()" on page
JavaScript object represents the behavior.
function is optional. Users can copy instances of the
"How the Server Behavior API functions are
pasteServerBehavior()
nodes in the document should be resolved and
if the behavior copies successfully to the Clipboard;
true
259.
function. The
The Server Behavior API
255
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