canApplyServerBehavior()
Availability
Adobe Dreamweaver UltraDev 1.
Description
Determines whether a behavior can be applied. Adobe Dreamweaver calls this function before the Server Behaviors dialog box appears. If this function returns a true value, the Server Behaviors dialog box appears. If this function returns a false value, the Server Behaviors dialog box does not appear and the attempt to add a server behavior stops.
Arguments
serverBehavior
- The
serverBehaviorJavaScript object represents the behavior; it is necessary to modify an existing behavior. If this is a new behavior, the argument isnull.
Returns
Adobe Dreamweaver expects a Boolean value: true if the behavior can be applied; false otherwise.