Functiondojox.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.

Usage

function (/*Object*/ item, /*String*/ attribute, value) (view source)
parametertypedescription
itemObjectAn item
attributeStringAn attribute name
value A value to set