简体   繁体   中英

Not assigning data from java VO to Flex VO using cairngorm

I have a few values in Java VO, and using cairgorm framework, i had mapping the Java VO to Action script VO in Flex and given same variables name as java Vo variables name. Now the Vo is mapping fine and when looking the result all variables are displaying as null. Can i know the reason for that.Java returning list of VO's.

package com.configuration
{
    import com.adobe.cairngorm.vo.IValueObject;
    import mx.collections.ArrayCollection; import mx.resources.ResourceManager;

    [Bindable]
    [RemoteClass(alias='com.configuration.ProgressState')]
    public class ProgressState implements IValueObject
    {
        public function ProgressState(){}
        public var ssn:String;
        public var objectType:ObjectTypeEnum;
        public var totalObjectCount:int;
        public var completedObjectCount:int;
        public var failedObjectCount:int;
        public static const TOTAL_COUNT_NOT_SET:int = -1;
    }
}

Thanks, Ravi

use charles proxy to view server response in AMF format

charles proxy website

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM