Specifications
Server Models 221
Arguments
None.
Returns
Dreamweaver expects an array of strings that represent the supported scripting languages.
getServerModelExtDataNameUD4()
Availability
Dreamweaver MX
Description
Returns the server model implementation name that Dreamweaver should use when accessing
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
Returns the script delimiters that are used by the application server and indicates whether each
can participate in merging code blocks. You can access this returned value from JavaScript by
calling the
dom.serverModel.getDelimiters() function.
Arguments
None.
Returns
Dreamweaver expects an array of objects where each object contains the following three
properties:
• startPattern is a regular expression that matches the opening script delimiter (such as "<%").
• endPattern is a regular expression that matches the closing script delimiter (such as "%>").
• participateInMerge is a Boolean value that specifies whether the content enclosed in the
listed delimiters should (
true) or should not (false) participate in block merging.