Group Edml File Tags - Adobe 38040334 - Dreamweaver CS3 User Manual

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

<searchPattern paramNames="rs,new__url">
/if d ((\w+)\.EOF\) Response\.Redirect\("([^\r\n]*)"\)/i
</searchPattern>
This process searches the user's document and, if there is a match, extracts the argument values. The first paren-
thetical subexpression (
\w+
.
new_url
Note: The character sequence "[^\r\n]*" matches any character that is not a linefeed, for the Macintosh and Windows
platforms.
Notes about EDML structure
You should use a unique filename to identify your server behavior group. If only one group file uses an associated
participant file, match the participant filename with the group name. Using this convention, the server behavior
group file
updateRecord.edml
might be shared among server behavior groups, assign unique descriptive names.
Note: The EDML name space is shared, regardless of folder structure, make sure you use unique filenames. Filenames
should not exceed 31 characters (including the .edml extension), due to Macintosh limitations.
The runtime code for your server behavior resides inside the EDML files. The EDML parser should not confuse any
of your runtime code with EDML markup, so the
represents character data and is any text that is not EDML markup. When you use the
won't try to interpret it as markup, but instead, considers it as a block of plain text. The
with
and end with
<![CDATA[
If you insert the text Hello, World, it is simple to specify your EDML, as shown in the following example:
<insertText>Hello, World</insertText>
However, if you insert content that has tags in it, such as
In that case, embed it in the
<insertText><![CDATA[<img src='foo.gif'>]]></insertText>
The ASP runtime code is wrapped within the
<![CDATA[
<% if (@@rs@@.EOF) Response.Redirect("@@new__url@@"); %>
]]
Because of the
tag, the ASP tags
CDATA
the Extension Data Manager (EDM) receives the uninterpreted text, as shown in the following example:
<% if (Recordset1.EOF) Response.Redirect("http://www.Adobe.com"); %>
In the following EDML definitions, the locations where the

Group EDML file tags

These tags and attributes are valid within the EDML group files.
) extracts the value for
. The second subexpression (
rs
works with the participant file
CDATA
.
]]>
construct, as shown in the following example:
CDATA
tag, as shown in the following example:
CDATA
, along with the other content within the tag, aren't processed. Instead,
<%= %>
[^\r\n]*
updateRecord_init.edml
tag must wrap around your runtime code. The
, it can confuse the EDML parser.
<img src='foo.gif'>
tag is recommended are indicated in the examples.
CDATA
DREAMWEAVER CS3
Extending Dreamweaver
) extracts the value for
. When participant files
tag
CDATA
tag, the EDML parser
CDATA
-marked blocks begin
CDATA
256

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents