Pete,
I believe ColdFusion structs are seen by Flash Remoting as
java.util.Map instances, so that means they're going to the
client as ECMA Arrays, not Objects. Thankfully (for now) you
can use the following ActionScript syntax to get named keys
from arrays as well as object properties:
Tim,
out of curiosity what version of CF are you using?
I had a similar mind-loosing experience recently, though the structs
were disappearing only when I was trying to retrieve an array of
structs. When just getting a struct, the data came through; when
getting only an array, the data came
David,
out of curiosity what version of CF are you using?
I'm still on MX6.1.
I had a similar mind-loosing experience recently, though the
structs were disappearing only when I was trying to retrieve
an array of structs.
I seem to get the same issue when I'm grabbing arrays of structs
Flash Remoting MX has always had the following rules for data type
translation:
java.lang.reflect.Array - AMF Strict Array - ActionScript Array
java.util.Collection - AMF Strict Array - ActionScript Array
java.util.Map - AMF ECMA Array - ActionScript Array with Associative
Keys
4 matches
Mail list logo