Adobe 38040334 API Reference - Page 321
Extension Data Manager functions, dw.dbi.setExpanded
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 321 highlights
DREAMWEAVER CS3 316 API Reference • The imageFile property is the path of a file that contains the icon (a GIF image) that represents the parent node in Dynamic Data or the Dynamic Text dialog box or in the Bindings panel. The imageFile property is always defined. • The allowDelete property is optional. If this property is set to a value of false, when the user clicks on this node in the Bindings panel, the Minus (-) button is disabled. If it is set to a value of 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 a value of true). • The dataSource property is the simple name of the file in which the findDynamicSources() function is defined. For example, the findDynamicSources() function in the Session.htm file, which is located in the Configuration/DataSources/ASP_Js folder, sets the dataSource property to session.htm. This property is always defined. • The name property is the name of the server behavior associated with the data source, dataSource, if one exists. The name property is always defined but can be an empty string ("") if no server behavior is associated with the data source (such as a session variable). dw.dbi.setExpanded() Availability Dreamweaver CS3. Description Sets the node to be expanded or collapsed. Arguments data-source-node-name, expanded • data-source-node-name is a string indicating the name of the data source to be expanded or collapsed. • expanded is a Boolean value indicating whether to expand or collapse the data set node. Returns Nothing. Example dw.dbi.setExpanded(dsName, true); //expand the data source node Extension Data Manager functions The APIs in this section comprise the Extension Data Manager (EDM). You can programmatically access and manipulate the data that is contained in the group and participant files by calling these functions. The EDM performs in the following manner: • The EDM performs all EDML file input/output for group and participant files. • The EDM acts as a server model filter by performing all data requests for the current server model.