DREAMWEAVER CS3
329
API Reference
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 on the App Server Info tab in the Site
Definition dialog box. To get the return value, this function calls the
function in the Server
getServerLanguage()
Models API.
Note: The Default Scripting Language list exists only in Dreamweaver 4 and earlier versions. For Dreamweaver MX or
later, the Site Definition dialog box does not list supported scripting languages. Also, for Dreamweaver MX or later, the
function reads the
property of the object that is
dom.serverModel.getServerLanguage()
serverLanguage
returned by a call to the
function in the Server Models API.
getServerInfo()
Arguments
None.
Returns
A string that contains the supported scripting languages.
dom.serverModel.getServerName()
Availability
Dreamweaver 1; enhanced in Dreamweaver MX.
Description
Retrieves the server name that is associated with the document and returns that value. The server name differentiates
between server technologies (such as ASP.NET and JSP), but does not differentiate between languages on the same
server technology (such as ASP.NET VB and ASP.NET C#). Possible values include
,
,
ASP, ASP.NET
Cold Fusion
, and
.
JSP
PHP
To retrieve the server model name associated with the document, see "dom.serverModel.getDisplayName()" on
page 326 or "dom.serverModel.getFolderName()" on page 326.
Note: For Dreamweaver MX, or later,
reads the
property of the
dom.serverModel.getServerName()
serverName
object that is returned by a call to the
function in the Server Models API.
getServerInfo()
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.