
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:
<group serverBehavior="myServerBehavior.htm" subType="longVersion">
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);
}
<title>
Description
This string appears in the Server Behaviors panel for each server behavior instance that is found in the current
document.
Parent
group
Type
Block tag.
Required
No.
Value
The value is a plain text string that can include argument names to make each instance unique, as shown in the
following example:
<title>Redirect If Empty (@@recordsetName@@)</title>
<groupParticipants>
Description
This tag contains an array of groupParticipant declarations.
Parent
group
Commentaires sur ces manuels