Group files
Group files contain a list of participants, and participant files have all server-model-specific
code data. Participant files can be used by more than one extension, so several group files can
refer to the same participant file.
The following example shows a high-level view of the Server Behavior Group EDML file. For
a complete list of elements and attributes, see
<group serverBehavior="Go To Detail Page.htm" dataSource="Recordset.htm">
<groupParticipants selectParticipant="goToDetailPage_attr">
<groupParticipant name="moveTo_declareParam"
<groupParticipant name="moveTo_keepParams"
<groupParticipant name="goToDetailPage_attr" partType="identifier" />
</groupParticipants>
</group>
In the
groupParticipants
participant file that contains the code block to use. The value of the
participant file name minus the .edml extension (for example, the
attribute).
Participant files
A participant represents a single code block on the page, such as a server tag, an HTML tag,
or an attribute. A participant file must be listed in a group file to be available to a
Dreamweaver document author. Several group files can use a single participant file.
For example, the moveTo_declareParam.edml file contains the following code:
<participant>
<quickSearch><![CDATA[MM_paramName]]></quickSearch>
<insertText location="aboveHTML+80">
<![CDATA[
<% var MM_paramName = ""; %>
]]>
</insertText>
<searchPatterns whereToSearch="directive">
<searchPattern><![CDATA[/var\s*MM_paramName/]]></searchPattern>
</searchPatterns>
</participant>
"Group EDML file tags" on page
block tag, each
groupParticipant
340.
partType="member"/>
partType="member"/>
tag indicates the EDML
attribute is the
name
moveTo_declareParam
Dreamweaver architecture
323
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?