Dreamweaver.servercomponents.refresh(); Data Source Functions; Dreamweaver.dbi.getdatasources - MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

dreamweaver.serverComponents.refresh()

Availability
Dreamweaver MX.
Description
Refreshes the view of the Components tree.
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. Each server model subfolder contains 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" in
Extending Dreamweaver.

dreamweaver.dbi.getDataSources

Availability
Dreamweaver UltraDev 4.
Description
Calls the
findDynamicSources()
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()
the concatenated array of data sources.
Arguments
None.
Returns
An array that 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
property is the label string that appears to the right of the icon for each parent
title
node. The
title
The
imageFile
represents the parent node in Dynamic Data or the Dynamic Text dialog box or in the
Bindings panel. The
328
Chapter 16: Dynamic Documents
function for each file in the Configuration/DataSources folder.
function in each file, concatenates all the returned arrays, and returns
property is always defined.
property is the path of a file that contains the icon (a GIF image) that
property is always defined.
imageFile

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents