开发者

Actionscript class not found at runtime for BlazeDS communication

开发者 https://www.devze.com 2022-12-15 02:34 出处:网络
We are using GraniteDS autogenerated AS code to map Java remote objects to AS. We have objects that contain List sites in Java so when they are converted to AS it looks like:

We are using GraniteDS autogenerated AS code to map Java remote objects to AS.

We have objects that contain List sites in Java so when they are converted to AS it looks like:

JAVA:

    private List<MyObject> territories;

Actionscript:

    private var _territories:ListCollectionView;

The trouble is we are using MXML databin开发者_如何学运维ding to bind the contents of that list generically, the trouble is we never reference the type of object contained in the list explicitly so it's never compiled into our SWF is there any way to ensure that objects in a list for a RemoteClass is compiled in?


There is no automated way of doing this. You'll need to reference the class somewhere in your code or specify it with the compiler arguments using "include-classes".

0

精彩评论

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