MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 106

Dreamweaver api reference
Table of Contents

Advertisement

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
argument is the same object that the
function returns.
parameters
findConnection()
Returns
Nothing.
applyConnection()
Availability
Dreamweaver UltraDev 4.
Description
Dreamweaver calls this function when the user clicks OK in the connection dialog box. The
function generates the HTML source for a connection. Dreamweaver
applyConnection()
writes the HTML to the Configuration/Connections/connection-name.ext include file, where
connection-name is the name of your connection (see
"Create the layout for the connection
dialog box." on page
101), and .ext is the default extension that is associated with the server
model.
Arguments
None.
Returns
The HTML source for a connection. Dreamweaver also closes the connection dialog box. If a
field validation error occurs,
displays an error message and returns an
applyConnection()
empty string to indicate that the dialog box should remain open.
106
The Database Connectivity API

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents