I am sending an object in java to a flex app via messaging.  Some of the data 
is coming 
across ok (Strings) but my List object is coming across as null even though the 
original 

java class:

import java.util.ArrayList;

public class Axis {
        
        String title;
        List axisList;

//  constructors and other methods here....
        
        public List getAxisList() {
                return axisList;
        }
        
        public String getTitle() {
                return title;
        }
}

And here is the mapped ActionScript version:

package com.data {
        
        import mx.collections.ArrayCollection; 
                
        [Bindable]
        [RemoteClass(alias="com.data.Axis")]
        public class AxistObject {
                public var title:String;
                public var axisList:ArrayCollection;
                
                public function getAxisList():ArrayCollection {
                        return axisList;
                }
                
                public function getTitle():String {
                        return title;
                }
        }
}

Why is it coming across as null?





Reply via email to