Re: Binding issue with Jewel CheckBox and PopUp

2019-01-03 Thread Carlos Rovira
Thanks guys for solve this thing!, it was not clear to me if it was some bug in the compiler, in bindings or in Jewel components :) El jue., 3 ene. 2019 a las 23:14, Greg Dove () escribió: > Yeah, I've made a few XXDataBinding propagations in the past, but I don't > like doing that blindly and wa

Re: Binding issue with Jewel CheckBox and PopUp

2019-01-03 Thread Greg Dove
Yeah, I've made a few XXDataBinding propagations in the past, but I don't like doing that blindly and was not ready to test them yet. I realised it was not optimised. But I think its better working than not, and probably the number of bindings with two or more events is low (I expect it is, otherw

Re: Binding issue with Jewel CheckBox and PopUp

2019-01-03 Thread Alex Harui
OK, thanks. That made me want to go in and do some refactoring in the code. Changes like that eventually need propagation to the other XXDataBinding classes and we might want to create a MultipleChangeEventDataBinding option. GenericBinding will work for now but it is the heaviest last resort

Re: Binding issue with Jewel CheckBox and PopUp

2019-01-03 Thread Greg Dove
I took a look at this and just pushed a change to ContainerDataBinding that fixes it. On Fri, Jan 4, 2019 at 7:59 AM Greg Dove wrote: > > Thanks Alex, I missed that - will remove it and retest! > > > On Fri, Jan 4, 2019 at 7:56 AM Alex Harui > wrote: > >> Greg, I think Carlos is saying the ex

Re: Binding issue with Jewel CheckBox and PopUp

2019-01-03 Thread Greg Dove
Thanks Alex, I missed that - will remove it and retest! On Fri, Jan 4, 2019 at 7:56 AM Alex Harui wrote: > Greg, I think Carlos is saying the example should work without the > check1.selected=false line, but he had to add it to get the example to work. > > -Alex > > On 1/3/19, 10:42 AM, "Greg

Re: Binding issue with Jewel CheckBox and PopUp

2019-01-03 Thread Alex Harui
Greg, I think Carlos is saying the example should work without the check1.selected=false line, but he had to add it to get the example to work. -Alex On 1/3/19, 10:42 AM, "Greg Dove" wrote: Carlos, I tried the example and (so far) I don't see the issue. I get the visual selection stat

Re: Binding issue with Jewel CheckBox and PopUp

2019-01-03 Thread Greg Dove
Carlos, I tried the example and (so far) I don't see the issue. I get the visual selection state of the checkbox and the text content binding both updating when the popup opens or closes. On Fri, Jan 4, 2019 at 7:27 AM Alex Harui wrote: > Is a binding being setup for closePopUp? Check the debu

Re: Binding issue with Jewel CheckBox and PopUp

2019-01-03 Thread Alex Harui
Is a binding being setup for closePopUp? Check the debug .js files to see if that event is listed in the _bindings array. If it is there, debug into it and see if a binding actually gets set up. -Alex On 1/3/19, 10:08 AM, "Carlos Rovira" wrote: Hi, I'm facing a binding issue.

Binding issue with Jewel CheckBox and PopUp

2019-01-03 Thread Carlos Rovira
Hi, I'm facing a binding issue. This is an example from PopUpPlayGround.mxml in Tour de Jewel: if you check the CheckBok, the popup1 opens and the check label shows "open/close the popup: true" then closing the popup, makes the label turns to: "open/close the popup: false" but, here's the p