beautypg.com

Title, Groupparticipants – Adobe Extending Dreamweaver CS4 User Manual

Page 268

background image

262

EXTENDING DREAMWEAVER CS4

Server behaviors

Required
No.

Value
The value is a unique string that determines which group to apply, as shown in the following example:

This group attribute defines the long version of the

myServerBehavior

subtype. You would also have a version with

the

subType="shortVersion"

attribute. In the

applyServerBehaviors()

function, you can indicate which group

should be applied by setting the

MM_subType

property on the parameter object, as shown in the following example:

function applyServerBehavior(ssRec) {

var paramObj = new Object();
if (longVersionChecked) {

paramObj.MM_subType = "longVersion";

} else {

paramObj.MM_subType = "shortVersion";

}
dwscripts.applySB(paramObj, sbObj);

}

</b></p><p style="position:absolute;top:598px;left:148px;white-space:nowrap" class="ft08"><b>Description<br></b>This string appears in the Server Behaviors panel for each server behavior instance that is found in the current <br>document.</p><p style="position:absolute;top:680px;left:148px;white-space:nowrap" class="ft03"><b>Parent</b></p><p style="position:absolute;top:702px;left:148px;white-space:nowrap" class="ft01">group</p><p style="position:absolute;top:742px;left:148px;white-space:nowrap" class="ft06"><b>Type<br></b>Block tag.</p><p style="position:absolute;top:804px;left:148px;white-space:nowrap" class="ft06"><b>Required<br></b>No.</p><p style="position:absolute;top:867px;left:148px;white-space:nowrap" class="ft08"><b>Value<br></b>The value is a plain text string that can include argument names to make each instance unique, as shown in the <br>following example:</p><p style="position:absolute;top:936px;left:148px;white-space:nowrap" class="ft01"> </p><p style="position:absolute;top:936px;left:149px;white-space:nowrap" class="ft01"><title>Redirect If Empty (@@recordsetName@@)

Description
This tag contains an array of

groupParticipant

declarations.

Parent

group

This manual is related to the following products: