beautypg.com

Dreamweaver.refreshextdata(), Live data functions, Dreamweaver.getlivedatainittags() – Adobe Dreamweaver API Reference CS5 User Manual

Page 355

background image

350

DREAMWEAVER API REFERENCE

Dynamic documents

Last updated 8/27/2013

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)

The value argument is a property value or is blank to ignore.

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

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.

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.

Live data functions

You can use the following live data functions to mimic menu functionality:

The

showLiveDataDialog()

function is used for the View > Live Data Settings menu item.

The

setLiveDataMode()

function is used for the View > Live Data and View > Refresh Live Data menu items.

The

getLiveDataMode()

function determines whether Live Data mode is active.

You can use the remaining live data functions when you implement the translator API

liveDataTranslateMarkup()

function.

dreamweaver.getLiveDataInitTags()

Availability
Dreamweaver UltraDev 1.