dojox.wire.Wire.getValue
This method first determins a root object as follows: 1. If 'object' property specified, 1.1 If 'object' is a Wire, its getValue() method is called to obtain a root object. 1.2 Otherwise, use 'object' as a root object. 2. Otherwise, use 'defaultObject' argument. 3. If 'property' is specified, it is used to get a property value. Then, if a sub-class implements _getValue() method, it is called with the root object to get the return value. Otherwise, the root object (typically, a property valye) is used for the return value. Finally, if 'type' property is specified, the return value is converted to the specified primitive type ("string", "number", "boolean" and "array"). If 'converter' property is specified, its convert() method is called to convert the value.
parameter | type | description |
---|---|---|
defaultObject | Object|Array | A default root object |