Hi,
I am using Flex client for lightstreamer. My data adapter, basically a stubber, is returning symbol, lastPrice, lastExchange.
Suppose, I subscribe to only one symbol, say IBM, I am trying to get the values of the above fields. I am using Non-Visual table.
var value:String;
if (evt.isFieldChanged(field)) {
value = evt.getFieldValue(field);
trace("Field : " + field + " Changed to : " + value)
} else {
value = evt.getOldFieldValue(field);
trace("Field : " + field + " Did not Change, old value : " + value)
}
return value;
The lastPrice is random data, and is being streamed properly.
Problem:
The problem is I am able to get the old value for symbol, i.e IBM, but the exchange which is also a constant, "EX" is coming as null. I was expecting a same behavior for exchange, giving me the old value.