Adobe 38040334 - Dreamweaver CS3 User Manual page 83

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

<participant name="connection
<quickSearch>
<![CDATA[// HTTP=]]></quickSearch>
<insertText location="">
<![CDATA[<%
// FileName="@@filename@@"
// Type="@@type@@" @@designtimeString@@
// DesigntimeType="@@designtimeType@@"
// HTTP="@@http@@"
// Catalog="@@catalog@@"
// Schema="@@schema@@"
_
_
var MM
@@cname@@
STRING = @@string@@
%>
]]>
</insertText>
<searchPatterns whereToSearch="directive">
<searchPattern paramNames="filename">
<![CDATA[/\/\/\s*FileName="([^"]*)"/]]></searchPattern>
<searchPattern paramNames="type,designtimeString">
<![CDATA[/\/\/\s+Type="(\w*)"([^\r\n]*)/]]></searchPattern>
<searchPattern paramNames="designtimeType" isOptional="true">
<![CDATA[/\/\/\s*DesigntimeType="(\w*)"/]]></searchPattern>
<searchPattern paramNames="http">
<![CDATA[/\/\/\s*HTTP="(\w+)"/]]></searchPattern>
<searchPattern paramNames="catalog">
<![CDATA[/\/\/\s*Catalog="(\w*)"/]]></searchPattern>
<searchPattern paramNames="schema">
<![CDATA[/\/\/\s*Schema="(\w*)"/]]></searchPattern>
<searchPattern paramNames="cname,string">
<![CDATA[/var\s+MM
</searchPatterns>
</participant>
Tokens in an EDML file—such as
connection object. You set the properties of connection objects in the JavaScript implementation file.
All the default connection dialog boxes that come with Dreamweaver use the connection_includefile.edml mapping
file. To let Dreamweaver find this file, its name is set in the JavaScript implementation file, as shown in the following
example:
_
var PARTICIPANT
FILE = "connection
When you create a custom connection type, you can use any mapping file in your custom dialog boxes. If you create
a mapping file, you can use a name other than connection_includefile for your EDML file. If you use a different
name, you need to use this name in your JavaScript implementation file when you specify the value that is assigned
to the
_
PARTICIPANT
FILE
_
var PARTICIPANT
FILE = "myConnection
_
includefile" version="5.0">
_
_
(\w*)
STRING\s*=\s*([^\r\n]+)/]]></searchPattern>
in this example—map values in the include file to properties of a
@@filename@@
_
includefile";
variable, as shown in the following example:
_
mappingfile";
DREAMWEAVER CS3
78
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents