User Guide

327
CHAPTER 16
Dynamic Documents
The dynamic documents functions in Macromedia Dreamweaver MX 2004 perform operations
that are related to web server pages. These operations include returning a property for the selected
node in the Components panel, getting a list of all data sources in the user’s document, displaying
dynamic content in Design view, applying a server behavior to a document, or getting the names
of all currently defined server models.
Server Components functions
Server Components functions let you access the currently selected node of the Server
Components tree control that appears in the Components panel. Using these functions, you can
also refresh the view of the Components tree.
dreamweaver.serverComponents.getSelectedNode()
Availability
Dreamweaver MX.
Description
Returns the currently selected ComponentRec property in the Server Components tree control.
Arguments
None.
Returns
The ComponentRec property.
000_DW_API_Print.book Page 327 Wednesday, August 20, 2003 9:14 AM