Adobe 38040334 - Dreamweaver CS3 User Manual page 329

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
323
Extending Dreamweaver
Note: The Default Scripting Language list exists only in Dreamweaver 4 and earlier. For Dreamweaver MX and later,
the Site Definition dialog box does not list supported scripting languages, nor does Dreamweaver use the
function. Dreamweaver does not use this function because each server model has only one
getServerLanguages()
server language in Dreamweaver.
In earlier versions of Dreamweaver, a server model could support multiple scripting languages; for example, the ASP
server model supports JavaScript and VBScript.
If you want a file in the ServerFormats folder to apply only to a specific scripting language, add the following
statement so it is the first line in the HTML file:
<!-- SCRIPTING-LANGUAGE=XXX -->
In this example,
represents the scripting language. This statement causes the server behavior to appear in the
XXX
Plus (+) menu of the Server Behaviors panel only when the currently selected scripting language is
.
XXX
Arguments
None.
Returns
Dreamweaver expects an array of strings that represent the supported scripting languages.
getServerModelExtDataNameUD4()
Availability
Dreamweaver MX.
Description
This function returns the server model implementation name that Dreamweaver should use when accessing the
UltraDev 4 extension data files that reside in the Configurations/ExtensionData folder.
Arguments
None.
Returns
Dreamweaver expects a string, such as
.
"ASP/JavaScript"
getServerModelDelimiters()
Availability
Dreamweaver MX.
Description
This function returns the script delimiters that the application server uses, and it indicates whether each delimiter
can participate in merging code blocks. You can access this returned value from JavaScript by calling the
function.
dom.serverModel.getDelimiters()
Arguments
None.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents