Functiondojox.wire.ml.Transfer._getWire

dojo.require("dojox.wire.ml.Transfer");
defined in dojox/wire/ml/Transfer.js

Arguments object for a source or a target Wire, specified by 'which' argument, are build from corresponding attributes, including '*Store' (for 'dataStore'), 'Attribute' (for 'attribute), 'Path' (for 'path'), 'type' and 'converter'. 'source' or 'target' attribute is parsed as: "object_id.property_name[.sub_property_name...]" If 'source' or 'target' starts with "arguments", 'object' argument for a Wire is set to null, so that the root object is given as an event or topic arguments. If this widget has child ChildWire widgets with a corresponding 'which' attribute, their _addWire() methods are called to add additional Wire arguments and nested Wire is created, specifying the Wire defined by this widget to 'object' argument.

Usage

function (/*String*/ which) (view source)
parametertypedescription
whichStringWhich Wire arguments to build, "source" or "target"