Adobe 38040334 API Reference - Page 61
MMDB.popupConnection, MMDB.setRDSPassword
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
DREAMWEAVER CS3 56 API Reference MMDB.popupConnection() Availability Dreamweaver MX. Description This function starts 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 Dream- weaver 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 71.) • The connRec argument is a reference to an existing Connection object. • The bDuplicate argument is a Boolean value. Returns Nothing. The defined connection dialog box appears. MMDB.setRDSPassword() Availability Dreamweaver UltraDev 4. Description This function sets the RDS password. Arguments password • The password argument is a string that contains the RDS password.