Adobe 38040334 - Dreamweaver CS3 User Manual page 335

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Note: In addition to letting you call this function from the JavaScript layer, Dreamweaver calls this function when the
user changes the encoding in the page Properties dialog box. If the server model does not support the new character
encoding, this function returns
the conversion. An example of this situation is when a user attempts to convert a ColdFusion 4.5 document to UTF-8
because ColdFusion does not support UTF-8 encoding.
Arguments
metaCharSetString
• The
metaCharSetString
as that of the
"charset="
server model are defined in the HTML definition file for the server model, which is located in the Configu-
ration/ServerModels folder.
Returns
A Boolean value:
if the server model supports the named character set;
true
dom.serverModel.getServerVersion()
Availability
UltraDev 1; enhanced in Dreamweaver MX.
Description
Determines the server model that is associated with the document and returns that value. Each server model has a
function, as defined in the Server Models API, which returns a table of name-version pairs.
getVersionArray()
Note: For Dreamweaver,
dom.serverModel.getServerVersion()
object that is returned by a call to
dom.serverModel.getServerVersion()
Arguments
name
• The
argument is a string that represents the name of a server model.
name
Returns
A string that contains the version of the named server model.
dom.serverModel.testAppServer()
Availability
Dreamweaver MX.
Description
Tests whether a connection to the application server can be made.
Arguments
None.
and Dreamweaver pops up a warning dialog box that asks if the user wants to do
false
argument is a string value that names a particular character set. This value is the same
attribute of a
tag that is associated with a document. Supported values for a given
meta
in the Server Models API. If that property does not exist,
getServerInfo()
reads it from the
otherwise.
false
first reads the
serverVersion
function.
getVersionArray()
DREAMWEAVER CS3
330
API Reference
property of the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents