I am passing one ActionScript 3.0 arrayCollection containing multiple objects from Flex to Java side. Below is the arrayCollection:
public var myAC:ArrayCollection = new ArrayCollection([
{label:"A", data:"a"},
{label:"B", data:"b"},
{label:"C", data:"c"}
]);
I am using BlazeDS. I want to iterate over it and use that data in the java method. Please tell me what will be the data type of receiving parameter ? How to extract each object from that?
According to the BlazeDS documentation , an ArrayCollection
... who would've thought? ;-)
As you can see, ArrayCollection
is an ArrayList
subclass -- this should mean you can treat it as such, too.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.