dojox.wire.DataWire._setAttributeValue
dojo.require("dojox.wire.DataWire");
defined in dojox/wire/DataWire.js
This method uses an item passed in 'item' argument and 'attribute' argument to call setValue() method of 'dataStore' with '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.
parameter | type | description |
---|---|---|
item | Object | An item |
attribute | String | An attribute name |
value | A value to set |