greg-dove commented on issue #552: Tree component does not refresh after data 
provider content is updated.
URL: https://github.com/apache/royale-asjs/issues/552#issuecomment-552232422
 
 
   I'm working on something else right now, but a quick glance at the generated 
code that was posted makes me think that the generated binding setter is 
probably not dispatching.
   See ** comment below:
   
   ```
   liveTreeDP: {
     get: function() {
       return com.likya.pinara.comps.TreePanel.liveTreeDP_;
     },
     
     set: function(value) {
        var oldValue = com.likya.pinara.comps.TreePanel.liveTreeDP_;
        if (value != oldValue) {
                        com.likya.pinara.comps.TreePanel.liveTreeDP_ = value;
                        var dispatcher = 
com.likya.pinara.comps.TreePanel._bindingEventDispatcher;  //** this should be 
'.staticEventDispatcher' not '._bindingEventDispatcher'                 
                        if (dispatcher) 
dispatcher.dispatchEvent(org.apache.royale.events.ValueChangeEvent.createUpdateEvent(
                                com.likya.pinara.comps.TreePanel, "liveTreeDP", 
oldValue, value));
         }
       }
     }
   ```
   
   
   Hopefully that is all that is needed. I can look at fixing this later today. 
However Serkan, if you want to confirm this you should be able to easily test 
it by making the change above in your js-debug output to see if it works. If 
you can confirm that, it would be helpful. (js-release won't work until this is 
addressed)

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to