HI,
I am dispatching a DataByQuerySpecRequest to my property provider. I need to send some additional information
with the request, so I tried to add some parameters to the propertySpec.parameters. The request contained the
parameters when it was dispatched, but when my data provider was called, the propertySpec.parameters was "null".
I thought that this must not be right, so I took the chassisui sample, and added the paramter values to the Util.as:
public static function createSimpleConstraintQuerySpec (
objectType:String, properties:Array):QuerySpec {
var resourceSpec:ResourceSpec = new ResourceSpec();
resourceSpec.constraint = new Constraint():
resourceSpec.constraint.targetType = objectType
var propSpec:PropertySpec = new PropertySpec();
propSpec.propertyNames = properties;
propSpec.parameters = new Array("abc"); <-- my addition
resourceSpec.propertySpecs = [propSpec];
...
Here the result is the same. In my Chassis-Service DataProvider I see the propertySpec that was sent, but the parameters are
still null.
Are there any restrictions to doing this? When I make property requests I have no problems added parameters to them.
thanks for the info
Cathy