Getservermodeldelimiters(); Getservermodeldisplayname() - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

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
Arguments
None.
Returns
Dreamweaver expects an array of objects where each object contains the following three
properties:
The
startPattern
(such as
"<%"
The
endPattern
(such as
"%>"
The
participateInMerge
enclosed in the listed delimiters should (
block merging.

getServerModelDisplayName()

Availability
Dreamweaver MX.
Description
This function returns the name that should appear in the user interface for this server model. You
can access this value from JavaScript by calling the
function.
Arguments
None.
Returns
Dreamweaver expects a string, such as
332
Chapter 19: Server Models
dom.serverModel.getDelimiters()
property is a regular expression that matches the opening script delimiter
).
property is a regular expression that matches the closing script delimiter
).
property is a Boolean value that specifies whether the content
) or should not (
true
dom.serverModel.getDisplayName()
.
"ASP JavaScript"
function.
) participate in
false

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents