I am using flex 3 and BlazeDS to get the results from a Java Method. The return type of the java method is HashMap<Integer, ArrayList<SomeObject>> . In Flex, I am trying to get all the elements of the event.result object in the following manner.
for(var key:* in event.result) {
Alert.show(key,"Key");
var value:* = event.result[key];
Alert.show(value,"Values");
pdac = value as ArrayCollection;
}
The Keys are getting printed correctly. But the values are coming out to be null. How do I go about accessing the ArrayList? I checked on the Java side and it is indeed printing the arraylist.
TIA,
mvenk..
North America
Europe, Middle East and Africa
Asia Pacific