User Guide
The definition file for your connection type 109
The definition file for your connection
type
For each server model, there is a connection_includefile.edml file that defines the connection
type and maps the properties that are defined in the include file to elements in the
Dreamweaver interface.
Dreamweaver provides seven default definition files, one for each of the predefined server
models, as listed in the following table.
Dreamweaver uses the
quickSearch and searchPattern parameters to recognize connection
blocks and the
insertText parameter to create connection blocks. For more information on
EDML tags and attributes, and regular expression search patterns, see “Server Behaviors” in
Extending Dreamweaver.
<participant name="connection_includefile" version="5.0">
<quickSearch>
<![CDATA[// HTTP=]]></quickSearch>
<insertText location="">
<![CDATA[<%
// FileName="@@filename@@"
// Type="@@type@@" @@designtimeString@@
// DesigntimeType="@@designtimeType@@"
// HTTP="@@http@@"
// Catalog="@@catalog@@"
Server model Subfolder within the Configuration/Connections folder
ASP JavaScript ASP_Js
ASP.NET CSharp ASP.NET_Csharp
ASP.NET VBScript ASP.NET_VB
ASP VBScript ASP_Vbs
ColdFusion ColdFusion
JavaServer Page JSP
PHP MySql PHP_MySql
NOTE
If you change the format of your include file or define an include file for a new server
model, you need to map the connection parameters with the Dreamweaver UI, Live
Data, and Preview In Browser. The following sample EDML file, which is associated with
the default ASP JS server model, maps all connection page variables with their
respective live values before sending the page to the server. For more information on
EDML and regular expression search patterns, see “Server Behaviors” in Extending
Dreamweaver.
000_DW_API_Print.book Page 109 Wednesday, July 20, 2005 11:58 AM