Re: [FlexJS] Data-binding fails when following multiple references

2017-02-15 Thread sankar
Great Piotr, Thank you! I shall give it a try soon possible! I'll keep you updated. Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59506.html Sent from the Apache

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-15 Thread piotrz
-binding-fails-when-following-multiple-references-tp58022p59485.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-13 Thread piotrz
I think I have provided all the fixes. Comments in jira has been added. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59335

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-12 Thread sankar
ailable to the application. I shall check if BasicBinding can address this requirement than ConstantBinding. Thank you, Priotr. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59278.html

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-11 Thread piotrz
-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59232.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-09 Thread piotrz
Hi Sankar, I just pushed fix for your failing, but Binding is still something which I will be looking - probably today. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-09 Thread sankar
Can you please take a look, Priotr (?) Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59179.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-08 Thread Alex Harui
On 2/8/17, 12:17 PM, "piotrz" wrote: >Hi Sankar, > >I did look into that. Here where the problem is. We have tag - >which >looks like can contains only one model. Once you declare: > > > > > Seems like there should have been a compiler error here. -Alex

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-08 Thread piotrz
data source. Let me know whether this is working and I will resolve jira. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59163

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-08 Thread piotrz
-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59147.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-08 Thread Alex Harui
On 2/7/17, 10:56 PM, "sankar" wrote: >piotrz wrote >> I just resolved your jira. Take a look into the comments and let me know >> if anything is wrong. > >Hi Priotr, > >I just looked into. Most of the components now working nicely! Thanks! >Yet a >few components missing their bracketed binding

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-07 Thread sankar
ndings at Jira. Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59123.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-07 Thread piotrz
Hi Sankar, I just resolved your jira. Take a look into the comments and let me know if anything is wrong. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-06 Thread sankar
lexJS-Data-binding-fails-when-following-multiple-references-tp58022p59052.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-05 Thread sankar
pache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59045.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-02-04 Thread piotrz
Hi Sankar, What's with your binding issue ? Do you still experience it? I don't see any jira about that. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-31 Thread Carlos Rovira
container kind of > thing to MDL having horizontal or vertical layouts? I noticed didn't worked expectedly to MDL components when used inside Card etc., > though. > > Thanks! > > > > -- > View this message in context: http://apache-flex- > development.247.n4

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-30 Thread sankar
wondering if there's any container kind of thing to MDL having horizontal or vertical layouts? I noticed http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58821.html Sent from the Apache Flex Development mailing list archi

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-30 Thread Carlos Rovira
se. If you can raise a jira > with example I will be looking into that. :) > > Piotr > > > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/FlexJS-Data-bindin

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-30 Thread piotrz
-fails-when-following-multiple-references-tp58022p58788.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-29 Thread sankar
It looks like data binding is terribly broken in MDL components. Any plan to work on this soon? Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58785.html Sent from the Apache

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-19 Thread sankar
I updated with latest compiler, and I confirm it's working fantastic! Thank you for yours effort Alex, Piotr. I've updated the JIRA issue as well. Thanks! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-followin

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-19 Thread piotrz
-fails-when-following-multiple-references-tp58022p58503.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-17 Thread piotrz
context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58408.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-17 Thread Alex Harui
Hi Piotr, I think you should now get 3 things in the array. There might still be an issue with the property watchers, not sure. Let me know what you find out. Thanks, Alex On 1/13/17, 1:45 PM, "Alex Harui" wrote: >IMO, the output should be: >["anyClass", "subClass", "fieldC"] > > > >I will l

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread Alex Harui
IMO, the output should be: ["anyClass", "subClass", "fieldC"] I will look into it. -Alex On 1/13/17, 1:42 PM, "piotrz" wrote: >Alex, > >I think in case of subClass again _bindings [1] array is wrong. Cause >sourceID is being searched in View - Take a look: > >

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread piotrz
ss.subClass", "fieldC"] [1] https://paste.apache.org/WAYT Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58275.html

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread piotrz
I just tested your last commit and it's working, so multiple ref binding is still which I need to investigate. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-foll

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread piotrz
message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58272.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread Alex Harui
Yeah, I wanted to see what the original data binding expression looks like. Thanks, -Alex On 1/13/17, 12:59 PM, "piotrz" wrote: >Alex, > >Do not understand - You need MXML code? > >Piotr > > > >- >Apache Flex PMC >piotrzarzyck...@gmail.com >-- >View this message in context: >http://apache-f

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread piotrz
Alex, Do not understand - You need MXML code? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58270.html Sent from the Apache Flex

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread piotrz
-Data-binding-fails-when-following-multiple-references-tp58022p58268.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread Alex Harui
I'm looking for the MXML file with the {} expression. Thanks, -Alex On 1/13/17, 12:46 PM, "piotrz" wrote: >Source for A [1], B [2] and InitView [3] > >[1] https://paste.apache.org/6YzL >[2] https://paste.apache.org/hMCA >[3] https://paste.apache.org/QfK3 > >Piotr > > > >- >Apache Flex PMC >

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread Alex Harui
Please post the source as well. On 1/13/17, 12:25 PM, "piotrz" wrote: >With getter and setter class B has been created, but Binding doesn't >work. I >will take a look in that scenario what is happening with binding. >Generated binding array [1] > >[1] https://paste.apache.org/LodF > >Piotr > > >

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread piotrz
ntext: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58266.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread Alex Harui
OK. I will take a look. But if you workaround it by using getter/setter and not a [Bindable] var, does that allow the chain to work? -Alex On 1/13/17, 12:13 PM, "piotrz" wrote: >Alex, > >I see the problem it's probably again in the compiler. I have two classes >A[1] and B[2]. Class B is being

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread Alex Harui
OK. There should be an array of 3 properties in the data binding structure. It shouldn't give up and create a getter function. Then, ViewDataBinding may need to detect that and use a ChainBinding. It could borrow code from ContainerDataBinding. -Alex On 1/13/17, 12:04 PM, "piotrz" wrote: >I

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread piotrz
[3] https://paste.apache.org/ln6f Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58263.html Sent from the Apache Flex Development ma

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread piotrz
ntext: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58262.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-13 Thread Alex Harui
OK. I pushed changes that should generate the code code for [Bindable] on getter/setters. HTH, -Alex On 1/10/17, 2:38 PM, "piotrz" wrote: >No problem - "patient" - will be my second name :) > >I just did small clarification for code in ViewDataBinding. I will commit >it >along with this first f

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread piotrz
evelopment.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58136.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread Alex Harui
On 1/10/17, 12:11 PM, "piotrz" wrote: >Alex, > >I think I have fix on flexjs sight, so waiting on your changes in >compiler. Looks like a significant amount of work, so don't hold your breath ;-) -Alex

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread piotrz
Alex, I think I have fix on flexjs sight, so waiting on your changes in compiler. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread piotrz
I reported something similar, so it may be related. https://issues.apache.org/jira/browse/FLEX-35236 Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread Alex Harui
OK, sounds like the generated code for [Bindable] on getter and setters is broken. I will take a look. -Alex On 1/10/17, 10:28 AM, "piotrz" wrote: >Alex, > >I just wanted to write it that compiled class doesn't contains it [1]. >Additionally what is funny - debugger do not stop when generate s

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread piotrz
et__fieldA = function(value) { if (this._fieldA != value) { this._fieldA = value; } }; [1] https://paste.apache.org/gy6N Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread Alex Harui
On 1/10/17, 10:02 AM, "piotrz" wrote: >Alex, > >I was also thinking that it shouldn't necessary be in that case generic >binding, but again it is all about condition. > >In case of ViewBinding condition is > >if (binding.source is Array >&& binding.source[0] == "applicationModel" >&& binding.so

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread Alex Harui
Hi Piotr, In the code you posted links to, fieldA has a getter marked with [Bindable]. The compiler should output code that converts ClassA to extend EventDispatcher and wrap the setter to dispatch a valueChange event and then things should work. If that isn't the case that would be where the bu

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread piotrz
-- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58113.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread piotrz
nation.length == 2) //and then create simple binding I will try, but if this can be a fix ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread Alex Harui
On 1/9/17, 11:45 PM, "piotrz" wrote: >Sankar, > >Yes I know, but I've started to investigate why you need to dispatch any >events from VO class in order to have workable Binding. - If someone can >shed some light on this - Is it how we should work with our classes which >we >are writing ? In a

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread Alex Harui
On 1/9/17, 10:43 PM, "piotrz" wrote: >Sorry View code should be this one -> https://paste.apache.org/bPbC I didn't see this until I'd already replied. So when you dispatch "valueChanged" and had [Bindable("valueChanged")] on anyClass you were telling the binding system that anyClass changed w

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread Alex Harui
Hi Piotr, If I understand correctly, this example is working as expected. When you use just plain "[Bindable]" the compiler will generate getter/setters and dispatch "valueChange" events for you. When you use "[Bindable("someEventName")]" you are responsible for dispatching that event somewhere

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread sankar
I'm from India Piotr. :) -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58082.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread piotrz
based ? What is your time zone ? :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58080.html Sent from the Apache Flex Development mailing

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-10 Thread sankar
ssage in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58077.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-09 Thread piotrz
rzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58066.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-09 Thread sankar
ieldName}*"/> Piotr, your tests shown the binding in a single-referenced way, but it fails in multi-referenced way. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58065.html Sent from

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-09 Thread piotrz
anged example with pom file. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58063.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-09 Thread piotrz
Sorry View code should be this one -> https://paste.apache.org/bPbC - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58064.html Sent f

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-09 Thread sankar
made any changes to my classes yet, but if that is a gamechanger then please guide me. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58061.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-09 Thread PKumar
: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58053.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-08 Thread sankar
Sounds great! Thank you, Piotr! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58031.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-08 Thread piotrz
.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58029.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-08 Thread sankar
} > > public function set fieldB(value:String):void > { > if (value != _fieldB) > { > _fieldB = value; > dispatchEvent(new Event("fieldBChanged")); > } > } > } -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p58027.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-08 Thread Alex Harui
How are the three elements defined? IOW: what is anyClass, a variable, a getter/setter, a [Bindable]? What about subClass? Where there any warnings in the compiler output? -Alex On 1/8/17, 9:07 PM, "sankar" wrote: >Hi, > >I've reported this issue to JIRA at: >https://issues.apache.org/jira/b

[FlexJS] Data-binding fails when following multiple references

2017-01-08 Thread sankar
nce. Thanks! -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022.html Sent from the Apache Flex Development mailing list archive at Nabble.com.