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 2020/11/26 18:37:47 UTC

[GitHub] [royale-asjs] greg-dove commented on issue #955: mx:Text is not working with bindable value

greg-dove commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734438515


   @alinakazi  I definitely used cairngorm already. I am really working crazy long hours for the next week. I will try to release it on github after that. But here are some downloads.
   https://www.dropbox.com/sh/xk8aui9ghy30mid/AAAAx0LUpfjXEQWC221zAjTza?dl=0
   
   For that Chainbinding error. I do recall thinking in the past that this class needs attention in bindings but it was not something I worked on yet. 
   You might be able to avoid that type of binding by reducing the 'depth' of your binding. 
   
   instead of {model.messageVO.message} which has 3 levels, try using {getMessage(model.messageVO)} with a private function getMessage(myVO:MessageVO):String{if (myVO) return myVO.message else return ''} in the script block of the mxml. Just a suggestion... it might not work if the message part needs to be bindable, but often this is not the case for a class named 'VO'


----------------------------------------------------------------
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