Expand my Community achievements bar.

How to map complex java obj to actionscript obj?

Avatar

Level 1
One of my java-assembler function returns a complex obj which
contains two lists like this:

public class ComplexObj {

private List listOne;

private List listTwo;

}

And each list contains a list of javaBeans, In my
java-assembler, I need to return these two list at the same time,
so my java-assembler is like this:



public List fill {

...........

.........

ComplexObj co = dao.getCO();

List resultList = new ArrayList();

resultList.add(co);

return resultList;

}



Now, I can get the resultList on client side and put it in a
ArrayCollection in actionscript, bu I can not get the 'co' and the
two list in 'co', So how to map the complex JavaObj to actionscript
obj?

0 Replies