Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-10 Thread OmPrakash Muppirala
iotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/FlexJS-Runtime-error-when- > setting-a-property-to-a-constant-value-tp57874p58052.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-09 Thread piotrz
I think it pass experimentation state, Once you get a chance please merge it to develop. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-09 Thread OmPrakash Muppirala
om -- View this message in context: http://apache-flex- development.247.n4.nabble.com/FlexJS-Runtime-error-when- setting-a-property-to-a-constant-value-tp57874p58044.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-09 Thread piotrz
/browse/FLEX-35227 Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p58044.html Sent from the Apache Flex Development mailing list

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-09 Thread sankar
wise fix? -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p58043.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-08 Thread piotrz
Hah Thank you Alex! :) And because of that I just took care for next jira related to Data Binding :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-08 Thread Alex Harui
gt; >> - >> Apache Flex PMC >> piotrzarzyck...@gmail.com >> -- >> View this message in context: http://apache-flex-development >> .247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a- >> property-to-a-constant-value-tp57874p57981.html >> Sent from the Apache Flex Development mailing list archive at >>Nabble.com. >>

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-07 Thread OmPrakash Muppirala
piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex-development > .247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a- > property-to-a-constant-value-tp57874p57981.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-07 Thread piotrz
. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57981.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-06 Thread Alex Harui
75/fa_scree >n.png> > > > >- >Apache Flex PMC >piotrzarzyck...@gmail.com >-- >View this message in context: >http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error- >when-setting-a-property-to-a-constant-value-tp57874p57975.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-06 Thread piotrz
.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57975.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-06 Thread piotrz
Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57974.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-06 Thread Alex Harui
message in context: >http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Runtime-error- >when-setting-a-property-to-a-constant-value-tp57874p57971.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-06 Thread piotrz
JS for MXML -> https://paste.apache.org/90gS - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57971.html Sent from the Apache F

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-06 Thread Alex Harui
On 1/6/17, 1:33 PM, "piotrz" wrote: >Alex, > >I just test your changes on fontawesome branch and falcon produces correct >values, but another problem appears. > >Once I got my string how actually I can create in javascript my class ? > >1) Probably I need to have my class produced by compiler,

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-06 Thread piotrz
this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57968.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-06 Thread Alex Harui
OK, I think the compiler handles both cases now. You should see ["org.apache.flex.fa.FontAwesomeIconType", "GLASS"] in the data. -Alex On 1/5/17, 1:22 PM, "Alex Harui" wrote: > > >On 1/5/17, 12:05 PM, "piotrz" wrote: > >>Exactly I even have the code ready but I need to wait for your fix,

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread Alex Harui
On 1/5/17, 12:05 PM, "piotrz" wrote: >Exactly I even have the code ready but I need to wait for your fix, cause >currently if run this code: > >iconType="{org.apache.flex.fa.FontAwesomeIconType.GLASS}" size="fa-lg" /> > >I have in my _bindings array something like that > > function() { return

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread piotrz
["org.apache.flex.fa.FontAwesomeIconType", GLASS] Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57953.html Sent from the A

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread Alex Harui
On 1/5/17, 11:44 AM, "piotrz" wrote: >Ok I will handle code with package on FlexJS sight and force to generic >binding. Hi Piotr, IMO, you want to try to use a ConstantBinding and not force to generic binding. GenericBinding is pretty heavy. So I think if the source is null, and eventNames

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread piotrz
-error-when-setting-a-property-to-a-constant-value-tp57874p57951.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread Alex Harui
On 1/5/17, 11:04 AM, "piotrz" wrote: >Alex, > >I have no idea how can I check whether "FontAwesomeIconType" (sourceID) >is a >class based on this code: > >["FontAwesomeIconType", "GLASS"] > >I know that in case of Flash I have getQualifiedClassName or >getDefinitionByName, but even that if I ha

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread piotrz
iotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57949.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread Alex Harui
On 1/5/17, 9:29 AM, "piotrz" wrote: >Alex, > >Understand, but where I should put these code ? ConstantBinding should >handle such case ? Yes, ConstantBinding should handle it. There may be a similar issue with binding to static variables in other classes, but I wouldn't worry about that just

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread piotrz
Alex, Understand, but where I should put these code ? ConstantBinding should handle such case ? Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread Alex Harui
>- >Apache Flex PMC >piotrzarzyck...@gmail.com >-- >View this message in context: >http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error- >when-setting-a-property-to-a-constant-value-tp57874p57935.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread piotrz
Om, I'm working on your branch with this bug. Just updated it with newest changes from develope. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread piotrz
Stack trace -> https://paste.apache.org/Q3xt - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57936.html Sent from the Apache F

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-05 Thread piotrz
pment.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57935.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-04 Thread Alex Harui
On 1/4/17, 12:02 PM, "piotrz" wrote: >Alex, > >I've went through the code and it seems that it can be no problem with >ItemRendererDataBinding. > >In _bindings array I have > > ["FontAwesomeIconType", "GLASS"] > >In ItemRendererDataBinding there is condition in set strand > >if (binding.source i

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-04 Thread piotrz
property ? Is this job for the compiler ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57914.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-04 Thread piotrz
.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57908.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-04 Thread Alex Harui
hould go ? > >[1] https://paste.apache.org/fOli > >Piotr > > > >----- >Apache Flex PMC >piotrzarzyck...@gmail.com >-- >View this message in context: >http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error- >when-setting-a-property-to-a-constant-value-tp57874p57889.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-04 Thread piotrz
this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57889.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread OmPrakash Muppirala
Thank you! On Tue, Jan 3, 2017 at 11:34 PM, piotrz wrote: > Thank you Om! I'm looking into that. > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/Fle

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread piotrz
Thank you Om! I'm looking into that. - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57885.html Sent from the Apache Flex Develo

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread OmPrakash Muppirala
yck...@gmail.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/FlexJS-Runtime-error-when- > setting-a-property-to-a-constant-value-tp57874p57880.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread piotrz
present on the requested resource. Origin 'null' is therefore not allowed access. Is there a missing header ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Runtime-error-when-setting

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread OmPrakash Muppirala
I tried changing public static const APPLE:String = "fa-apple"; to public static var APPLE:String = "fa-apple"; I see a warning about data-binding, and I am still getting the same error in runtime. On Tue, Jan 3, 2017 at 6:28 PM, OmPrakash Muppirala wrote: > This works: > > > > T

[FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread OmPrakash Muppirala
This works: This does not work: where FontAwesomeIconType.APPLE is defined as: public static const APPLE:String = "fa-apple"; Runtime errors: Uncaught TypeError: Cannot read property 'children' of undefined at org.apache.flex.binding.ItemRendererDataBinding.set_