beautypg.com

Inspectconnection() – Adobe Dreamweaver API Reference CS5 User Manual

Page 87

background image

82

DREAMWEAVER API REFERENCE

The database connectivity API

Last updated 8/27/2013

If a connection is not found in htmlSource, a

null

value returns.

Note: Developers can add custom properties (for example, metadata) to the HTML source, which

applyConnection()

returns along with the standard properties.

inspectConnection()

Availability
Dreamweaver UltraDev 4.

Description
Dreamweaver calls this function to initialize the dialog box data for defining a connection when the user edits an
existing connection. This process lets Dreamweaver populate the dialog box with the appropriate connection
information.

Argument
parameters

The parameters argument is the same object that the

findConnection()

function returns.

Returns
Nothing.

driver

Name of a JDBC driver used at runtime

username

Name of the user for the runtime connection

password

Password used for the runtime connection

designtimeString

Design-time connection string (see

string

)

designtimeDsn

Design-time data source name (see

dsn

)

designtimeDriver

Name of a JDBC driver used at design time

designtimeUsername

Name of the user used for the design-time connection

designtimePassword

Password used for the design-time connection

designtimeType

Design-time connection type

usesDesigntimeInfo

When

false

, Dreamweaver uses runtime properties at design time; otherwise, Dreamweaver uses

design-time properties

useHTTP

String containing either

true

or

false:true

specifies to use HTTP connection at design time;

false

specifies to use DLL

includePattern

Regular expression used to find the file include statement on the page during Live Data and Preview
In Browser

variables

Object with a property for each page variable that is set to its corresponding value. This object is
used during Live Data and Preview In Browser

catalog

String containing a database identifier that restricts the amount of metadata that appears

schema

String containing a database identifier that restricts the amount of metadata that appears

filename

Name of the dialog box used to create the connection

Property

Description