Re: [FlexJS] List Structure

2016-11-27 Thread Alex Harui
Carlos, your example is buried in a big app. Kind of makes it harder to debug. I posted a much simpler app. Does it work for you or not? I spent time digging into it. Because you've stripped out the CSS for the components you are borrowing you may have to replace some of it. I think you may n

[FlexJS]Layout problems

2016-11-27 Thread Harbs
FlexJS makes it way too hard to solve simple layout challenges. 1. I have an application with a bunch of buttons. I want to buttons to take up the width of the view with a 5 px margin on each side. In classic Flex, this was easy. You’d just specify right=“5” left=“5”, and you’re done. In FlexJS,

Re: [FlexJS]Layout problems

2016-11-27 Thread Alex Harui
On 11/27/16, 3:31 AM, "Harbs" wrote: >FlexJS makes it way too hard to solve simple layout challenges. I don't know if it is fair to blame the patterns and principles of FlexJS for that, but it certainly is possible that the Layout you need hasn't been written yet. Keep in mind that regular Fl

[FlexJS]Data binding problems

2016-11-27 Thread Harbs
Another area where “old” Flex was easier is data binding. Currently, to get data binding to work, you need to specify the correct data binding bead. That’s great, but I’m not sure it covers all cases, and knowing what to use where is not immediately obvious. Additionally, a lot of uses of “data

Re: [FlexJS] Bubbling Problem

2016-11-27 Thread yishayw
I've pushed a workaround that adds a new prop to MouseEvent: targetBeforeBubbling. It's not pretty but it helps get the correct screenX and clientX values, which is important in our app. Feel free to come up with a better solution... -- View this message in context: http://apache-flex-develop

Re: [FlexJS]Layout problems

2016-11-27 Thread Harbs
I’m not blaming the concepts. I’m just stating that as it stands, layout is really hard. Part of the problem I was able to see was due to the fact that there were nested divs with alternating absolute and relative positioning. This killed all padding settings to the sub-objects. Basically the d

Re: [FlexJS]Data binding problems

2016-11-27 Thread Alex Harui
Binding should work the same. If not file a bug. Sent from my LG G3, an AT&T 4G LTE smartphone -- Original message-- From: Harbs Date: Sun, Nov 27, 2016 7:07 AM To: dev@flex.apache.org; Subject:[FlexJS]Data binding problems Another area where “old” Flex was easier is data binding. Curr

Re: [FlexJS] className manipulation

2016-11-27 Thread OmPrakash Muppirala
Looks like this polyfill could be useful. https://github.com/eligrey/classList.js/ Thanks, Om On Nov 26, 2016 9:43 PM, "Alex Harui" wrote: > Seems like if we could implement ClassList as a utility class. I can > think of lots of apps that are less dynamic that won't need this > capability. I

Re: [FlexJS] DateChooser in FlexJS 0.7 fails in swf mode, doesn't render correctly in javascript mode

2016-11-27 Thread santanu4ver
Alex Harui wrote > I don't think we've even discussed a date. What would you want to see in > the release and when? The present nightly build probably has many other fixes other than one discussed here. We're planning the use of FlexJS in real-life project and for which we'll probably wants to de

Re: [LAST CALL] Flex SDK 4.16

2016-11-27 Thread Justin Mclean
Hi, So I just tried this out but ant_on_air is failing to compile. Looks like SimpleUntar.as has moved? BUILD FAILED /Users/justinmclean/Documents/ApacheFlexUtilitiesGit/flex-installer/ant_on_air/build.xml:85: Can't get http://as3-simple-untar.googlecode.com/svn/trunk/src/de/ketzler/utils/Simp

Re: [FlexJS] List Structure

2016-11-27 Thread Alex Harui
Actually, I was looking at the wrong widgets. Adding the ItemRendererMouseController gets things working for me. On 11/27/16, 12:06 AM, "Alex Harui" wrote: > >I spent time digging into it. Because you've stripped out the CSS for the >components you are borrowing you may have to replace some of

Re: [LAST CALL] Flex SDK 4.16

2016-11-27 Thread OmPrakash Muppirala
I had a similar issue when I tried to set up. Looks like the individual files are not downloadable from google code anymore. I just downloaded the full zip file and copied over the required files. On Nov 27, 2016 9:54 PM, "Justin Mclean" wrote: > Hi, > > So I just tried this out but ant_on_air

[FlexJS] Naming conventions for Beads

2016-11-27 Thread piotrz
Hi All, While my work on one of the component from MDL library I catch myself that actually I don't know which class is a Bead type. >From the Developer point of view only desciption is suggesting me "Hey I'm Bead". What do you think for add to all existing Beads suffix Bead? Ex: "DeleteBead" P