I put Spring bean into my Flex application through BlazeDS. In my Java code, I return strongly typed lists. eg.
public List<Folder> getFolders(String path) { return dao.getFolders(path); }
A Flex application receives data as ArrayCollection objects for AS3 objects, that is, not as ArrayCollection Folders that I want. I annotated my Flex class as follows:
package myproject.vo { import com.adobe.cairngorm.vo.IValueObject; import mx.collections.ArrayCollection; [Bindable] [RemoteClass(alias="myproject.vo.Folder")] public class Folder extends PersistentObject implements IValueObject { public function Folder() {} } }
I checked that I have getters / setters in my Java Folder class to match the properties in my Flex Folder class. Any ideas?
flex blazeds
ukdavo
source share