-binding-fails-when-following-multiple-references-tp58022p59485.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
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
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
Sent from
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
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.
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.html
-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.
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
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.
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
-Data-binding-fails-when-following-multiple-references-tp58022p59052.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
-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.
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-following
dering if there's any 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-
> d
was 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 archive
roken and in which case. 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.247.n4.nab
-fails-when-following-multiple-references-tp58022p58788.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
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
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-following-multiple
in 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.
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",
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:
>
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
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-following
this 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.
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
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
-Data-binding-fails-when-following-multiple-references-tp58022p58268.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
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
>
>
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]
:
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.
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
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"
:
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.
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
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.
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
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
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
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
= 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-following
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] ==
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
--
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.
n.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-tp58022p5
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
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
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
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.
? 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 list
ontext:
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.
...@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.
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
le.
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.
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
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.
:
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.
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.
.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.
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.
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:
--
View this message in context:
http://apache-flex-development.247.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.
62 matches
Mail list logo