@Greg Dove  Is there a test that an int with the value 0 is properly serialized 
by AMF as 0 and not 0.0?

-Alex

On 11/7/19, 11:21 PM, "Alina Kazi" <alina.k...@d-bz.com> wrote:

    Hi Alex,
    
    Launch :
    Module  : Inventory (Inventory from select in Menu)
    Go to Adjustment Types (from Setups in Menu)
    Click save button on Adjustment Types  setup to test the scenario and 
system will call validateForm server side method. Value of 'ad_SanType' will be 
0.0 and it should be "0"
    On server side we have put breakpoint on validateForm. You will see the 
change value on server side(java).
    
    Files :
    D:\DBIZSOL\Main\Royale\src\com\dbz\modules\INV\dbzAdjustmentTypeSetup.mxml
    D:\DBIZCOMLIB\src\com\dbz\VO\INV\dbzAdjustmentTypeSetupVO.as
    
    Regards,
    Alina Kazi
    
    -----Original Message-----
    From: Alex Harui [mailto:aha...@adobe.com.INVALID] 
    Sent: Thursday, November 7, 2019 2:09 PM
    To: dev@royale.apache.org; us...@royale.apache.org
    Subject: Re: dropdownlist selectedItem.id to VO property
    
    What file contains the:
    
    org.apache.royale.utils.Language.as(this.dbzAdjustmentTypeSetup_valueObj,
        com.dbz.VO.INV.dbzAdjustmentTypeSetupVO)
    
    and what does that source code look like?
    
    -Alex
    
    On 11/7/19, 4:04 AM, "Alina Kazi" <alina.k...@d-bz.com> wrote:
    
        Hi,
        
         
        
        We have a custom vo dbzAdjustmentTypeSetupVO 
        
         
        
        When we send it to java side from royale side system change its value on
        line :
        
        
org.apache.royale.utils.Language.as(this.dbzAdjustmentTypeSetup_valueObj,
        com.dbz.VO.INV.dbzAdjustmentTypeSetupVO)
        
        dbzAdjustmentTypeSetupVO file is 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fwonx1&amp;data=02%7C01%7Caharui%40adobe.com%7Ce877a2f0308643d67a0f08d7641c38c1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637087944683475841&amp;sdata=ilPgLulQq6MZGdTg5XN%2F3upVTUZ8EZOxvE73Q3NNt04%3D&amp;reserved=0
        
        its property ad_SanType is 0 and it becomes 0.0  after the execution of 
line
        
org.apache.royale.utils.Language.as(this.dbzAdjustmentTypeSetup_valueObj,
        com.dbz.VO.INV.dbzAdjustmentTypeSetupVO)
        
         
        
        'ad_SanType': { type: 'spark.components.DropDownList', access: 
'readwrite',
        declaredBy: 'dbzAdjustmentTypeSetup'}
        
        'ad_SanType' is a dropdownlist though all our properties in
        dbzAdjustmentTypeSetupVO were of string type. 
        
         
        
        -Alina
        
         
        
        
    
    
    
    

Reply via email to