applyServerBehavior()
Availability
Adobe Dreamweaver UltraDev 1.
Description
Reads values from the form elements in the dialog box and adds the behavior to the user's document. Adobe Dreamweaver calls this function when the user clicks OK in the Server Behaviors dialog box. If this function returns successfully, the Server Behaviors dialog box closes. If this function fails, it displays an error message without closing the Server Behaviors dialog box. This function can edit a user's document.
For more information, see dwscripts.applySB().
Arguments
serverBehavior
- The
serverBehaviorJavaScript object represents the server behavior; it is necessary to modify an existing behavior. If this is a new behavior, the argument isnull.
Returns
Adobe Dreamweaver expects an empty string if successful or an error message if this function fails.