Macromedia dreamweaver 8-extending dreamweaver User Manual
428
Server Models
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:
add the following statement so it is the first line in the HTML file:
<!-- SCRIPTING-LANGUAGE=XXX -->
In this example,
XXX
represents the scripting language. This statement causes the server
behavior to appear in the Plus (+) menu of the Server Behaviors panel only when the currently
selected scripting language is
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.
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
whether each delimiter can participate in merging code blocks. You can access this returned
value from JavaScript by calling the
dom.serverModel.getDelimiters()
function.