[FlexJS] Do we have a similar invalidation/commit concept as with the old Flex SDK?

2017-01-06 Thread Christofer Dutz
Hi Guys, While writing my article, I stumbled over one question: Have we ported the validation/invalidation concept of the Flex SDK to FlexJS? I know it’s possible because I implemented something similar when I had to work with GWT and it drastically reduced the number of events and event proces

Re: [FlexJS] Do we have a similar invalidation/commit concept as with the old Flex SDK?

2017-01-06 Thread Alex Harui
On 1/6/17, 1:04 AM, "Christofer Dutz" wrote: >Hi Guys, > >While writing my article, I stumbled over one question: Have we ported >the validation/invalidation concept of the Flex SDK to FlexJS? >I know it’s possible because I implemented something similar when I had >to work with GWT and it dras

Re: [FlexJS] Probable design to support DataGrid sorting

2017-01-06 Thread Peter Ent
I've given this some thought and I've come up with an idea: Create a new DataGridView that creates the pieces. Use a horizontal Container for the column headers, placing buttons in them and then have the DataGrid's controller (your own version) listen for clicks on those buttons. That will signal

Re: [FlexJS,MDL][Discuss] Tabs, TabBar with dataProvider+itemRenderer API

2017-01-06 Thread piotrz
Hi Alex, Thank you for suggestion. I just did it and now everything is working fine and It look cleaner. Tabs now has TabBar as sub components. I'm creating and adding TabBar in TabsView. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-fle

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] Do we have a similar invalidation/commit concept as with the old Flex SDK?

2017-01-06 Thread OmPrakash Muppirala
On Fri, Jan 6, 2017 at 8:07 AM, Alex Harui wrote: > > > On 1/6/17, 1:04 AM, "Christofer Dutz" wrote: > > >Hi Guys, > > > >While writing my article, I stumbled over one question: Have we ported > >the validation/invalidation concept of the Flex SDK to FlexJS? > >I know it’s possible because I imp

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

2017-01-06 Thread piotrz
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, but it doesn't happen. If I have in mxml script

Re: Moonshine 1.3.0 Release

2017-01-06 Thread JoelProminic
Moonshine 1.3.0 is now available in the App Store as well. https://itunes.apple.com/us/app/moonshine/id1099109346?mt=12 Joel Anderson My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS. -- View this message in context: http://apache-flex-develop

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
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 Flex Develo

Re: [FlexJS] Do we have a similar invalidation/commit concept as with the old Flex SDK?

2017-01-06 Thread Alex Harui
On 1/6/17, 11:52 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: > >I have been looking at FastDOM [1] which batches DOM manipulations so we >don't have 'layout thrashing' [2] > >When I get some time, I will try to do some benchmarks and see if we can >identify hotspots and route

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

2017-01-06 Thread Alex Harui
OK, I pushed a change that should fix this in flex-falcon. See if that works better. -Alex On 1/6/17, 2:36 PM, "piotrz" wrote: >JS for MXML -> https://paste.apache.org/90gS > > > >- >Apache Flex PMC >piotrzarzyck...@gmail.com >-- >View this message in context: >http://apache-flex-developme

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

2017-01-06 Thread piotrz
Alex, I just provide fix from FlexJS sight. It's working if classes are in their place with compiled Team page. Just tried your fix but still result is same classes were not included in build. I jus pushed changes which allows you test your fixes in Flex Team page. Piotr - Apache Flex

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

2017-01-06 Thread piotrz
Just small screenshot that I don't see classes although imports are in mxml. - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/

[4.16.0] # Apache Flex SDK 4.16.0 nightly build 192: Successful

2017-01-06 Thread flex . ci . builds
flex-sdk_release-candidate - Build #192 - Successful Changes since last build: No changes For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/192/.

AW: [FlexJS] Do we have a similar invalidation/commit concept as with the old Flex SDK?

2017-01-06 Thread Christofer Dutz
It's just that I have used several html/js Frameworks and all problems these ui frameworks had were due to lack of something like invalidation and commit. As soon as I implemented them manually, problems went away. Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche N

[4.16.0] # Apache Flex SDK 4.16.0 nightly build 193: Successful

2017-01-06 Thread flex . ci . builds
flex-sdk_release-candidate - Build #193 - Successful Changes since last build: [jmclean] Update year to 2017 [jmclean] Update year to 2017 [jmclean] Update year to 2017 [jmclean] Update year to 2017 [jmclean] Update year to 2017 For more information, check the console output at http://apach

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

2017-01-06 Thread Alex Harui
I just synced up everything and it seems to be working. In the compiler output, you should see things like: [java] Dependencies calculated for '/Users/aharui/git/flex/release/flex-asjs/examples/flexjs/FlexTeamPage_MDL/ bin/js-debug/org/apache/flex/fa/FontAwesomeIconSize.js' [java] Dependencie

Re: AW: [FlexJS] Do we have a similar invalidation/commit concept as with the old Flex SDK?

2017-01-06 Thread Alex Harui
On 1/6/17, 6:02 PM, "Christofer Dutz" wrote: >It's just that I have used several html/js >Frameworks and all problems these ui frameworks had were due to lack of >something like invalidation and commit. As soon as I implemented them >manually, problems went away. I'm sure one or more of our co