User Guide

398 Dynamic Documents
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() 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 users
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.
000_DW_API_Print.book Page 398 Wednesday, July 20, 2005 11:58 AM