Description
Returns the document file extensions with which a server model can work. For example, the ASP
server model supports .asp and .htm file extensions. This function returns an array of strings, and
Dreamweaver uses these strings to populate the Default Page Extension list that is found in the
App Server category in the Site Definition dialog box.
Note: The Default Page Extension list exists only in Dreamweaver 4 and earlier. For
Dreamweaver MX, and later, the Site Definition dialog box does not list file extension settings.
Instead, Dreamweaver reads the Extensions.txt file and parses the
mmDocumentTypes.xml file. (For more information on these two files and the
see
"Extensible document types in Dreamweaver" on page
Arguments
None.
Returns
Dreamweaver expects an array of strings that represent the allowed file extensions.
getLanguageSignatures()
Availability
Dreamweaver MX.
Description
This function returns an object that describes the method and array signatures that the scripting
language uses. The
to language-specific mapping for the following elements:
•
The function
•
Constructors
•
Drop code (return values)
•
Arrays
•
Exceptions
•
Data type mappings for primitive data types
The
getLanguageSignatures()
Extension developers can use this map to generate language-specific code blocks that
Dreamweaver drops on the page (based on the appropriate server model for the page) when the
user drags and drops a Web Services method, for example.
For examples of how to write this function, see the HTML implementation files for the JSP and
the ASP.Net server models. Server model implementation files are located in the Configuration/
ServerModels folder.
Arguments
None.
Returns
Dreamweaver expects an object that defines the scripting language signatures. This object should
map the generic signatures to language-specific ones.
getLanguageSignatures()
function returns a map of these signature declarations.
documenttype
42.)
function helps map generic signature mapping
The Server Model API functions
element in the
element,
documenttype
329
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