
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Google App Engine Java, Flash Builder 4 Beta 2
|
|
|
I have A POJO with various Integers, Floats and .. as well List<String>. If I return such an object what I finally get in AS3 is incomplete.
The AS3 object's properties for the List<String> are NULL. The AS3 class has an Array variable. If I use Vector.<String> in AS3 nothing works at all. It says that some properties on the JAVA object would be marked protected and cannot be accessed. But in fact there is nothing protected.
I don't use "ArrayCollection" or something, because I have to access my persistence object within a loaded SWF (created with CS4 Flash).
But I guess GraniteDS should work with the basic data structures like plain "Array".
|
|
Description
|
I have A POJO with various Integers, Floats and .. as well List<String>. If I return such an object what I finally get in AS3 is incomplete.
The AS3 object's properties for the List<String> are NULL. The AS3 class has an Array variable. If I use Vector.<String> in AS3 nothing works at all. It says that some properties on the JAVA object would be marked protected and cannot be accessed. But in fact there is nothing protected.
I don't use "ArrayCollection" or something, because I have to access my persistence object within a loaded SWF (created with CS4 Flash).
But I guess GraniteDS should work with the basic data structures like plain "Array".
|
Show » |
Sort Order:
|
All other collections are by default serialized as ArrayCollections.
You can change this default behaviour by registering in granite-config.xml a Converter/Reverter that will convert all ArrayLists to Arrays.