Specifications

556
Returns
A JavaScript object that contains a variety of information that is specific to the current server
model.
dom.serverModel.getServerLanguage()
Availability
Dreamweaver 1, deprecated in Dreamweaver MX
Description
Determines the server model that is associated with the document and returns that value. The
server language for a site is the value that comes from the Default Scripting Language setting in
the App Server Info tab of the Site Definition dialog box. To get the return value, this function
calls the
getServerLanguage() function in the Server Models API.
Note: The Default Scripting Language list exists only in Dreamweaver 4 and earlier versions. For Dreamweaver MX,
the Site Definition dialog box does not list supported scripting languages. Also, for Dreamweaver MX, the
dom.serverModel.getServerLanguage() function reads the serverLanguage property of the object that is
returned by a call to the getServerInfo() function in the Server Models API.
Arguments
None.
Returns
A string that contains the supported scripting languages.
dom.serverModel.getServerName()
Availability
Dreamweaver 1, enhanced in Dreamweaver MX
Description
Determines the server model that is associated with the document and returns that value. Possible
values include ASP.NET C#, ASP.NET VB, ASP VBScript, ASP JavaScript, ColdFusion, JSP,
PHP MySQL, and any additional files that are contained in the Configuration/ServerModels
folder.
Note: For Dreamweaver MX, dom.serverModel.getServerName() reads the serverName property of the object
that is returned by a call to the getServerInfo() function in the Server Models API.
Arguments
None.
Returns
A string that contains the server name.
dom.serverModel.getServerSupportsCharset()
Availability
Dreamweaver MX
Description
Determines whether the server model that is associated with the document supports the named
character set.