Specifications
Chapter 31408
dreamweaver.cssStylePalette.newStyle()
Availability
Dreamweaver 3
Description
Opens the New Style dialog box.
Arguments
None.
Returns
Nothing.
Data source functions
Data source files are stored in the Configuration/DataSources folder. Each server model has its
own folder: ASP.Net/C#, ASP.Net/VisualBasic, ASP/JavaScript, ASP/VBScript, ColdFusion, JSP,
and PHP/MySQL. Within each server model subfolder are HTML and EDML files that are
associated with the data sources for that server model.
For more information about using data sources in Dreamweaver, see “Data Sources” on page 191.
dreamweaver.dbi.getDataSources
Availability
Dreamweaver UltraDev 4
Description
Calls the findDynamicSources() function for each file in the Configuration/DataSources folder.
You can use this function to generate a list of all the data sources in the user’s document. This
function iterates through all the files in the Configuration/DataSources folder, calls the
findDynamicSources() function in each file, concatenates all the returned arrays, and returns
the concatenated array of data sources.
Arguments
None.
Returns
The array that this function returns contains a concatenated list of all the data sources in the user’s
document. Each element in the array is an object, and each object has the following properties:
• The title property is the label string that appears to the right of the icon for each parent
node. The
title property is always defined.
• The imageFile property is the path of a file that contains the icon (a GIF image) that
represents the parent node in the Bindings panel or Dynamic Data dialog box or Dynamic
Text dialog box. The
imageFile property is always defined.
• The allowDelete property is an optional property. If this property is set to false, when the
user clicks on this node in the Bindings panel, the minus (-) button is disabled. If it is set to
true, the minus (-) button is enabled. If the property is not defined, the minus (-) button is
enabled when the user clicks on the item (as if the property is set to
true).