Specifications
The Database API 321
MMDB.popupConnection()
Availability
Dreamweaver MX
Description
Invokes a connection dialog box. This function has the following three signatures:
• If the argument list consists only of dialogFileName (a string), popupConnection( ) causes
Dreamweaver to launch the connection dialog box so you can define a new connection.
• If the argument list consists only of connRec (a connection reference), popupConnection( )
causes Dreamweaver to launch the connection dialog box in edit mode for the named
connection for editing. In this mode, the name text box is dimmed.
• If the argument list consists of connRec and bDuplicate (a Boolean value),
popupConnection( ) causes Dreamweaver to launch the connection dialog box in duplicate
mode. In this mode, the name text box is blanked out and the remaining properties are copied
to define a duplicate connection.
Arguments
dialogFileName
or
connRec
or
connRec, bDuplicate
• dialogFileName 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 is
used to create a connection. This file must implement three JavaScript API functions:
findConnection(), inspectConnection(), and applyConnection(). Typically, you create
a .js file that implements these functions and then include the .js file in the HTML file. (For
more information on creating a connection, see “The Database Connectivity API” on page
337.)
• connRec is a reference to an existing Connection object.
• bDuplicate is a Boolean value.
Returns
Nothing. The defined connection dialog box appears.
MMDB.setRdsPassword()
Availability
Dreamweaver UltraDev 4
Description
Sets the RDS password.
Arguments
password is a string that contains the RDS password.
Returns
Nothing.