User Guide
264 Chapter 15: Server Behaviors
Value
The exact name of a data source file within a Configuration/DataSources folder, as shown in the
following example:
<group serverBehavior="Repeat Region.htm" ¬
dataSource="myCOMdataSource.htm">
This group defines a new implementation of the Repeat Region server behavior to use if you use
the COM data source. In the
applyServerBehaviors() function, you can indicate that this
group should be applied by setting the
MM_dataSource property on the parameter object, as
shown in the following example:
function applyServerBehavior(ssRec) {
var paramObj = new Object();
paramObj.rs = getComObjectName();
paramObj.MM_dataSource = "myCOMdataSource.htm";
dwscripts.applySB(paramObj, sbObj);
}
subType
Description
This advanced feature supports multiple implementations of a server behavior.
Multiple versions of a server behavior might differ, depending on user selection. When a server
behavior is applied, but multiple group files are relevant, the correct group file can be selected by
passing in a
subType value. The group with that specific subType value is applied.
Parent
group
Type
Attribute.
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">