User Guide
The Shared folder contents 381
Other folders
The following list describes other folders of interest in the Shared folder:
• Controls
The Controls folder contains the elements used to build a server behavior. These controls
include interfaces for text and recordset menus.
Note: These controls are used by the Dreamweaver Server Behavior Builder and by many of
Dreamweaver’s server behaviors but some are useful for managing a control in your extension.
• Fireworks
The Fireworks folder has the supporting files for Fireworks integration.
• UltraDev
Dreamweaver maintains this folder primarily for backward compatibility, and it should not be
used for new extensions. Use the Dreamweaver Configuration/Shared/Common folder, where
most of this functionality also exists. See “The Common folder” on page 376.
insertion.js Contains the insertIntoDocument() function, which inserts a text
string into a document at the insertion point. Also contains the
supporting functions
getHigherBlockTag() and arrContains().
The
getHigherBlockTag() function gets get the next highest
blockTag, as defined in the blockTags array, and the
arrCon()
function finds a specified item in an array.
localText.js Reserved variables, not for general use. Use Startup/mminit.htm
instead or use the strings from the Dreamweaver Configuration/
Strings/*.xml files.
menuItem.js Contains functions that add stars or values to a listed menu item,
or removes them.
niceName.js Contains functions that convert an array of Object references to
an array of simpler names.
quickString.js Contains functions that aggregate smaller strings without doing a
memory allocation each time.
string.js Contains a generic set of functions for manipulating and parsing
text strings. Functions include:
extractArgs(),
escQuotes(), unescQuotes(), quoteMeta(), errMsg(), badChars(),
getParam(), quote(), stripSpaces(), StripChars(),
AllInRange(), reformat(), trim(), createDisplayString(),
entityNameEncode(), entityNameDecode(), stripAccelerator(),
and
SprintF(),
TemplateUtils.js Contains utility functions for Dreamweaver templates. Functions
insert an editable region into a document, insert a repeating
region into a document, scan a document for a specified editable
region and so on.
UI.js Contains generic functions that control the UI. These functions
find a designated object in the current document, load select list
options with localized strings, return the attribute value for a
selected option, and word-wrap the text message for an alert.