开发者

Java map to flex object conversion

From java i am sending ordered Map.In flex when i convert that into Object i am loosing the order which i maintained in java.Is there any other way to maintain the order in 开发者_StackOverflow中文版flex object?

Regards, Siva


Java Maps (including SortedMap / TreeMap) are converted into a generic Object instance which has no notion of ordering:

http://livedocs.adobe.com/blazeds/1/blazeds_devguide/serialize_data_2.html#312520

You could perhaps write a custom Java class (and the equivalent ActionScript class) which contains the original Map and an Array of the keys in the correct order.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜