Database connection functions
87
MMDB.needToRefreshColdFusionDsnList()
Availability
Dreamweaver MX.
Description
This function tells the Connection Manager to empty the cache and get the ColdFusion data
source list from the application server the next time a user requests the list.
Arguments
None.
Returns
Nothing.
MMDB.popupConnection()
Availability
Dreamweaver MX.
Description
This function invokes a connection dialog box. This function has the following three signatures:
•
If the argument list consists only of
dialogFileName
(a string), the
popupConnection()
function makes Dreamweaver open the Connection dialog box so you can define a
new connection.
•
If the argument list consists only of
connRec
(a connection reference), the
popupConnection()
function makes Dreamweaver launch the Connection dialog box in edit
mode for editing the named connection. In this mode, the name text field is dimmed.
•
If the argument list consists of
connRec
and the Boolean value
bDuplicate
, the
popupConnection()
function makes Dreamweaver open the Connection dialog box in
duplicate mode. In this mode, the name text field is blanked out, and the remaining properties
are copied to define a duplicate connection.
Arguments
dialogFileName
or
connRec
or
connrec, bDuplicate
•
The
dialogFileName
argument is a string that contains the name of an HTML file that
resides in the Configuration/Connections/
server-model
folder. This HTML file defines the
dialog box that creates a connection. This file must implement three JavaScript API functions:
findConnection()
,
inspectConnection()
, and
applyConnection()
. Typically, you create
a JavaScript file that implements these functions and then include that file in the HTML file.
(For more information on creating a connection, see
“The Database Connectivity API”
on page 103
.)
000_DW_API_Print.book Page 87 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...