< Day Day Up > |
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:
dreamweaver.getExtDataValue()Availability Dreamweaver UltraDev 4. Description This function retrieves the field values from an EDML file for the specified nodes. Arguments qualifier(s)
Returns Dreamweaver expects a field value. If a value is not specified, Dreamweaver uses the default value. Example The following example retrieves the location attribute value for the insertText tag of the recordset_main participant: dw.getExtDataValue("recordset_main", "insertText", "location"); dreamweaver.getExtDataArray()Availability Dreamweaver UltraDev 4. Description This function retrieves an array of values from an EDML file for the specified nodes. Arguments qualifier(s)
Returns Dreamweaver expects an array of child-node names. dreamweaver.getExtParticipants()Availability Dreamweaver UltraDev 4. Description This function retrieves the list of participants from an EDML group file or participant files. Arguments value, qualifier(s)
Returns Dreamweaver expects an array of participant names that have the specified property, if it is given, and the property matches the specified value, if it is given. dreamweaver.getExtGroups()Availability Dreamweaver UltraDev 4. Description Retrieves the name of the group, which is the equivalent to the server behavior's name, from an EDML group file. Arguments value, qualifier(s)
Returns Dreamweaver expects an array of group names that have the specified property, if it is given, and the property matches the specified value, if it is given. dreamweaver.refreshExtData()Availability Dreamweaver UltraDev 4. Description Reloads all extension data files. NOTE This is a new Note table. It is attached to a ta Table_anchor paragraph tag. To create one, copy and paste from the reference page. TIP You can make a useful command from this function, letting edits to server-behavior EDML files be reloaded without restarting Dreamweaver. Arguments None. Returns Dreamweaver expects reloaded data. |
< Day Day Up > |