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

2017-01-05 Thread piotrz
Hi Guys, Let's leave for a moment isActive property. I've just pushed portion of code related to Tabs to example: 1) Tabs ("mdl-tabs__tab-bar") -> TabBarPanelItemRenderer TabBar ("mdl-tabs__tab") ->TabBarButtonTabsItemRenderer 2) Second case is more specific cause container of tabs is Navigation

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

2017-01-05 Thread piotrz
Currently MDL Tabs example suffer with bug. If you go to example and started to play with Tab One, Tab Two you will notice that content (CustomTabBarPanelItemRenderer) is displaying above TabBar. Current usage [1]. Tabs will be rendered first, later TabBar so in the results in HTML code we have st

RE: [FlexJS] Using Maven with Flash Builder

2017-01-05 Thread Yishay Weiss
I just tried flexjs-simple-application-pure-js-archetype and it works. Performance is still not good compared to flash. It takes me 6 seconds to build the flash version of our application in Flash Builder, and 40 seconds to build the JS version in the command line. Thanks for making this wo

Re: [FlexJS] Probable design to support DataGrid sorting

2017-01-05 Thread sankar
Alex Harui wrote > I'm wondering though, from the description below, is there a model bead > involved somewhere? I would expect to have a model bead store the sort > information (which column is being sorted, and whether ascending or > descending. That way the customer can set the model to have

[Apache Flex] Code Inspection

2017-01-05 Thread piotrz
Hi All, Lately when I was working a lot with MDL code I miss something where I can review code written by others. Is there any tool available in Apache where we could do for each other Code Inspection ? I know that I can simple review commits email but it's not same as look into such tool like J

Re: [Apache Flex] Code Inspection

2017-01-05 Thread OmPrakash Muppirala
All our commits goes to our github mirror almost instantaneously. The code review feature on github is pretty good. We can give it a shot if you are interested. Thanks, Om On Jan 5, 2017 1:04 AM, "piotrz" wrote: > Hi All, > > Lately when I was working a lot with MDL code I miss something wh

Re: [Apache Flex] Code Inspection

2017-01-05 Thread piotrz
Thanks Om! You are right I forgot about github CI. Yes please. I will do same from now on. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Apache-Flex-Code-Inspection-tp57931p57933.html Sent from the

Re: [FlexJS] Probable design to support DataGrid sorting

2017-01-05 Thread sankar
On a second thought, you probably tried to refer DataGridPresentationModel rather than DataProviderModel (DataProviderModel, which I thought initially). Yes, it's a good place to store the information about which column last sorted and ascending/descending value. But that may require me to modify t

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

2017-01-05 Thread piotrz
Alex, I've made the changes where constant binding is being fired, but story is still same. In set strand of ConstantBinding FontAwesomeIconType is being searched in document. Since FontAwesomeIconType is not a property of this document it doesn't exists there.

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

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-to-a-consta

Re: [FlexJS] Probable design to support DataGrid sorting

2017-01-05 Thread sankar
Accessing DataGridPresentationModel from DataGridButtonBarButtonItemRenderer seems quite tough even though it could be a nice place to store those information. To get DataGridPresentationModel I'll need to access their multiple parents as DataGridButtonBarButtonItemRenderer.parent.parent.parent w

Re: [FlexJS] Probable design to support DataGrid sorting

2017-01-05 Thread piotrz
Hi Sankar, Maybe StrandUtils will help you. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Probable-design-to-support-DataGrid-sorting-tp57925p57939.html Sent from the Apache Flex Development m

Re: [FlexJS] Probable design to support DataGrid sorting

2017-01-05 Thread sankar
piotrz wrote > Maybe StrandUtils will help you. Hi again Piotr, It seems all the parameters are required here - StrandUtils.loadBead(..). Do we need to supply all parameters as valid value? Can you suggest with a demo example? -- View this message in context: http://apache-flex-development.23

Re: [FlexJS] Using Maven with Flash Builder

2017-01-05 Thread Christofer Dutz
Glad it works now … but the build times are strange. I just ran the build on my machine and I get something like this: [INFO] Total time: 3.859s But eventually this depends on your OS and the type of harddrive you have. I know Windows filesystems handle operations on loads of files a lot slower

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

2017-01-05 Thread Alex Harui
On 1/5/17, 12:10 AM, "piotrz" wrote: >Currently MDL Tabs example suffer with bug. If you go to example and >started >to play with Tab One, Tab Two you will notice that content >(CustomTabBarPanelItemRenderer) is displaying above TabBar. > >Current usage [1]. Tabs will be rendered first, later T

Re: [FlexJS] Probable design to support DataGrid sorting

2017-01-05 Thread Alex Harui
On 1/5/17, 2:53 AM, "sankar" wrote: >Accessing DataGridPresentationModel from >DataGridButtonBarButtonItemRenderer >seems quite tough even though it could be a nice place to store those >information. > >To get DataGridPresentationModel I'll need to access their multiple >parents >as DataGridBut

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

2017-01-05 Thread Alex Harui
Hi Piotr, Thanks for digging into it. It looks like ConstantBinding hasn't been written to handle an external constant. In looking through all of our examples, there is binding only to constants in the same document. So please add code to handle external constants. Thanks, -Alex On 1/5/17, 1:

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-a

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] Using Maven with Flash Builder

2017-01-05 Thread yishayw
Hi Chris, I think the interesting statistic is that on the same machine the flash build takes 6 seconds and the Js build takes 40. This is probably a problem with the compiler, not the build script. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS

Re: [FlexJS] Using Maven with Flash Builder

2017-01-05 Thread Alex Harui
On 1/5/17, 10:03 AM, "yishayw" wrote: >Hi Chris, > >I think the interesting statistic is that on the same machine the flash >build takes 6 seconds and the Js build takes 40. > >This is probably a problem with the compiler, not the build script. > Yishay, can you explain this further? The SWF

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

2017-01-05 Thread piotrz
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 have above string without package I got from this met

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
Ok I will handle code with package on FlexJS sight and force to generic binding. Jira: https://issues.apache.org/jira/browse/FLEX-35239 Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-er

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
Exactly I even have the code ready but I need to wait for your fix, cause currently if run this code: I have in my _bindings array something like that function() { return org.apache.flex.fa.FontAwesomeIconType.GLASS; }, so source is an function - It should be simple string ["org.apache.fle

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

[FlexJS] Express vs Flex 4

2017-01-05 Thread Peter Ent
Hi, I've created a Flex 4 app that mimics the FlexJS Express example, DataBindingExample. You can look at the code here: https://paste.apache.org/I6cM If you compare the MXML section in the Flex 4 example to the FlexJS Express example you will see they are nearly the same - at least in number o

Re: [FlexJS] Express vs Flex 4

2017-01-05 Thread Harbs
Cool. Suggestion: Instead of using a long prefix for the express components (i.e. express:TextInput), what about using something like jx instead (short for javascript express), so it would be jx:TextInput instead. If that looks to similar to js, maybe “ex”. or just “x” like the “s” prefix for

Re: [FlexJS] Express vs Flex 4

2017-01-05 Thread Alex Harui
On 1/5/17, 2:35 PM, "Harbs" wrote: >Cool. > >Suggestion: > >Instead of using a long prefix for the express components (i.e. >express:TextInput), what about using something like jx instead (short for >javascript express), so it would be jx:TextInput instead. If that looks >to similar to js, mayb

Re: [FlexJS] Express vs Flex 4

2017-01-05 Thread OmPrakash Muppirala
On Thu, Jan 5, 2017 at 3:10 PM, Alex Harui wrote: > > > On 1/5/17, 2:35 PM, "Harbs" wrote: > > >Cool. > > > >Suggestion: > > > >Instead of using a long prefix for the express components (i.e. > >express:TextInput), what about using something like jx instead (short for > >javascript express), so

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

2017-01-05 Thread flex . ci . builds
flex-sdk_release-candidate - Build #191 - 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/191/.

Re: [DISCUSS] Apache Flex SDK 4.16 RC1 release

2017-01-05 Thread Justin Mclean
Hi, > Being Wednesday afternoon here I’ve run out of time to be able to create, > test, release and finish a vote on the next RC and will have to wait until > after I get back from being away. So I'm back. Should we go ahead with RC2 or should we try another way of fixing this issue? Thanks,

Re: [FlexJS] Using Maven with Flash Builder

2017-01-05 Thread yishayw
I'm using our application, not an example. I'm comparing the Ant and Maven run times to the app launched from a run (debug actually) configuration in FB. The Maven output is here. Ant times are similar. Most of the time is spent on compilation and dependency calculation (I removed most of the pro