beautypg.com

Dreamweaver.getextdataarray(), Dreamweaver.getextparticipants(), Dreamweaver.getextgroups() – Adobe Dreamweaver API Reference CS5 User Manual

Page 354

background image

349

DREAMWEAVER API REFERENCE

Dynamic documents

Last updated 8/27/2013

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)

The qualifier(s) argument is a variable-length list of comma-separated node qualifiers, including group or
participant name, subblock (if any), and field name.

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)

The value argument is a property value, or it is blank and is ignored. For example

dreamweaver.getExtParticipants("", "participant");

The qualifier(s) argument is a variable-length list of comma-separated node qualifiers of the required property.

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.