You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/07/29 06:19:30 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #438: Unable to port a flex method

pashminakazi opened a new issue #438: Unable to port a flex method
URL: https://github.com/apache/royale-asjs/issues/438
 
 
   We have a method:
   https://paste.apache.org/jy56s
   We are calling it as : shmUtil.setForm(arrFormItems, voCompany as Object,
   org.apache.royale.reflection.describeType(shmCompanySetupVO) as XML);
   
   We have tried it using TypeDefinition Instead of XML. 
   
   When we have changed XML to TypeDefinition in method setForm(...aValueObjInfo:TypeDefinition){.....
   for each (var val:TypeDefinition in aValueObjInfo..variable)
   ...}
   
   I got a compile time Error as ..variable property not exist in TypeDefinition:
   
   Access of possibly undefined property variable through a reference with static type TypeDefinition.
   [java]
   [java] for each (var val:TypeDefinition in aValueObjInfo..variable)
   
   Kindly Help us to Port this method. As we are using this method in our whole Application in every file.
   
   Thanks in Advance

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services