The Definition File For Your Connection Type - MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

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.
Server model
ASP JavaScript
ASP.NET CSharp
ASP.NET VBScript
ASP VBScript
ColdFusion
JavaServer Page
PHP MySql
Dreamweaver uses the
blocks and the
insertText
EDML tags and attributes, and regular expression search patterns, see "Server Behaviors" in
Extending Dreamweaver.
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.
<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@@"
Subfolder within the Configuration/Connections folder
ASP_Js
ASP.NET_Csharp
ASP.NET_VB
ASP_Vbs
ColdFusion
JSP
PHP_MySql
and
quickSearch
searchPattern
parameter to create connection blocks. For more information on
parameters to recognize connection

The definition file for your connection type

109

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver 8

Table of Contents