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 10:24:01 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #955: mx:Text is not working with bindable value

pashminakazi opened a new issue #955:
URL: https://github.com/apache/royale-asjs/issues/955


   If I am giving direct value to mx:Text it will work fine but it doesn't; works with binded value like
   it works with <mx:Text text="ABCD"/>
   but it doesn't works with <mx:Text text="{model.messageVO.message}" />
   model.messageVO.message has a value which I tried to print in Alert and it is working fine but in mx:TextArea it is not working


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



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

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734772414


   @aharui Alex the example i shared or Greg has shared?


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



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

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734398956


   ![image](https://user-images.githubusercontent.com/36731338/100375804-3757da80-3030-11eb-82b3-e763c6001341.png)
   


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



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

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734932881


   These views are in the library project. 


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



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

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734412001


   We have prepared a separate lib for cairngorm migrated in Royale. It also compiled successfully. We are preparing a test using that library. It gives error where we Bind the mx:text with a model field. The error is in screenshot. I will try to find the thread where @greg-dove  has discussed about it. 


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



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

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734393134


   Alex We are trying to migrate the Cairngorm from flex to Royale this time. We have a test case. I will upload it on GitHub and share link with you. 


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



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

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734401076


   https://github.com/alinakazi/MigrationProjSamples


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



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

Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734432792


   No. Crux (old Swiz) was developed to respond to Cairngorm flaws, so Crux is a much easier and evolved framework. But Greg added to our Crux the cabability to call Cairngorm commands, so maybe that could make you to use Crux instead Cairngorm. But that's just a gues and no one better than @greg-dove to respond to that


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



[GitHub] [royale-asjs] alinakazi edited a comment on issue #955: mx:Text is not working with bindable value

Posted by GitBox <gi...@apache.org>.
alinakazi edited a comment on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734413327


   @carlosrovira @aharui does Crux have everything as Cairngorm had in Flex?


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



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

Posted by GitBox <gi...@apache.org>.
greg-dove commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734441850


   actually there could also be a problem with that binding if 'model' is not a typed reference.
   If model is typed as Object, then it would be best to avoid that and add a specific getter that returns the model as a specific type (Class) so the compiler knows. Again, not sure ... just adding a comment for you to investigate for now.


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



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

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734914240


   The one you shared.  It seemed to reference views that weren't in the example source.  Or maybe I just missed it.


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



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

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734390732


   Are there compiler warnings about not being able to detect changes to model.messageVO.message?  Try making a simple test case.


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



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

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734413327


   @carlosrovira does Crux have everything as Cairngorm had in Flex?


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



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

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734510456


   The example did not seem complete.


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



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

Posted by GitBox <gi...@apache.org>.
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



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

Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734409220


   @alinakazi I remember @greg-dove has a Cairngorm migrated version. He already shared in some email or issue some month ago (don't remember when or where)


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



[GitHub] [royale-asjs] alinakazi edited a comment on issue #955: mx:Text is not working with bindable value

Posted by GitBox <gi...@apache.org>.
alinakazi edited a comment on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734413327


   @carlosrovira @aharui does Crux has everything as Cairngorm had in Flex?


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



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

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #955:
URL: https://github.com/apache/royale-asjs/issues/955#issuecomment-734771604


   @greg-dove   {getMessage(model.messageVO)} with a private function getMessage(myVO:MessageVO):String{if (myVO) return myVO.message else return ''}  this works for us. Thanks


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