dojox.wire.DataWire._setValue
dojo.require("dojox.wire.DataWire");
defined in dojox/wire/DataWire.js
This method uses a root item passed in 'object' argument and 'attribute' property to identify an item. Then, setValue() method of 'dataStore' is called with a leaf attribute name and 'value' argument. If an attribute name have an array suffix ("[]"), setValues() method is called, instead. If an index is specified in the array suffix, an array element for the index is set to 'value', instead of the array itself.
Usage
function (/*Object*/ object, value) (view source)
parameter | type | description |
---|---|---|
object | Object | A root item |
value | A value to set |