Re: Free Maven Training Video

2016-10-24 Thread Justin Mclean
Hi, > So great! I check few minutes and it has a great quality! Congrats! :) Yep amazing what you can do with a phone, a clip on mic and some editing software these days :-) Hopefully other PMC members will take a look and it will help them understand Maven a little better. Thanks, Justin

Re: [FlexJS] Make the closure compilation use the closure jar instead of an exploded directory

2016-10-24 Thread Carlos Rovira
Thanks for looking into this speed issue, since it would improve greatly working with FlexJS and maven 2016-10-23 16:28 GMT+02:00 Alex Harui : > > > On 10/23/16, 3:10 AM, "Christofer Dutz" wrote: > > >Hi, > > > > > >I was thinking about how to speed up the build time of application > >compilatio

Re: AW: [FlexJS] Maveninze MobileStocks (was [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Awesome Chris! I'll try it as soon as I can! :D 2016-10-23 17:17 GMT+02:00 Christofer Dutz : > Ok so I tried things on a clean Windows machine. > > I needed to install: > > - Node.JS > > - Android SDK > > > After that the build produced APKs > > Unfortunately it seems as if the IOs packaging does

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Hi Chris, sure, just get to it now, and to test it I would need it in maven. Chris, just as Josh made in NextGen extension, could you implement an "additionalCompilerOptions" param, that we could use to not get stuck as new compiler options are added but still are not available in maven plugin?

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Many thanks Alex por making it, I'll be trying it ASAIC. I want to build the example as clean as possible since right now I'm adding things and getting many side effects, so hopefully this is much need to be able to continue working 2016-10-24 8:48 GMT+02:00 Alex Harui : > > > On 10/21/16, 4:35 P

AW: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Christofer Dutz
Done, now there should be a configuration option "additionalCompilerOptions" that you can pass in additional options without adding them to the config-templates. This should however be an option to keep you guys from being stuck, support for required config options should be added to the conf

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
> Here's another idea idea: what if there was a compiler option that would > override the xmlns in the MXML files? > > mxmlc -compiler.mxml.xmlns=js,library://ns.apache.org/flexjs/mdl > > That would be ok, but it seems a bit tacky to me...my vote would be not introduce things like this and keep

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Great Chris! :) 2016-10-24 11:37 GMT+02:00 Christofer Dutz : > Done, > > > now there should be a configuration option "additionalCompilerOptions" > > that you can pass in additional options without adding them to the > config-templates. > > This should however be an option to keep you guys from b

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Hi, I tried new additions without luck, maybe I'm doing something wrong: In my project example I added: ... -compiler.exclude-defaults-css-files=HTML.swc:defaults.css Then I added to my mxml: As I compile I still see in App.css button rules as:

AW: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Christofer Dutz
Have you used the latest version that supports the new flag? Eventually you have to update the SNAPSHOT by adding "-U" to the build. Also you could add "-X" and then you should see the arguments the compiler is executed with in the log. Chris Von: carlos.rov..

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Hi Chris, I'm building from source (mvn clean install -DskipTests). So I think I don't need to use -U right? 2016-10-24 14:46 GMT+02:00 Christofer Dutz : > Have you used the latest version that supports the new flag? Eventually > you have to update the SNAPSHOT by adding "-U" to the build. Also y

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Hi, from my test, maven setup is working ( I tried other params like htmltemplate and worked) So I assume that I'm setting the new flag in a bad way, but I copied what Alex suggested in his email inside the xml tags: -compiler.exclude-defaults-css-files=HTML.swc:defaults.css 2016-10-24 15:10 GM

Re: AW: Reviving AS3-Commons

2016-10-24 Thread Alex Harui
Maybe we should 1) officially vote to "adopt" AS3 Commons (although maybe not every file) 2) get a new repo or repos for it 3) start copying it into that new repo. Also, Chris, if you can get agreement from any code-owners you've talked to to forward their "ok" to the dev@ list, that would be suf

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Alex Harui
On 10/24/16, 2:42 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >> Here's another idea idea: what if there was a compiler option that >>would >> override the xmlns in the MXML files? >> >> mxmlc -compiler.mxml.xmlns=js,library://ns.apache.org/flexjs/mdl >> >> >That would be

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Ok, I see, right now I'm using something like you say: while the base class selectors are asigned in AS3 MDL Button Code component: element.className = 'mdl-button mdl-js-button'; In example's use I specialize, since there is 8 selectors, and seems to me many combinations to make classes, So:

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Alex Harui
On 10/24/16, 9:17 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Ok, I see, > >right now I'm using something like you say: > >while the base class selectors are asigned in AS3 MDL Button Code >component: > >element.className = 'mdl-button mdl-js-button'; > >In example's use I

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Thanks Alex, I think I'll stick with the actual impl for the moment, maybe flags could be good...Others don't like since I think are or very verbose or many combinations... btw, I was trying to get -compiler.exclude-defaults-css-files=HTML.swc:defaults.css without luck, but is clear this is a mus

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Alex Harui
On 10/24/16, 6:27 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >from my test, maven setup is working ( I tried other params like >htmltemplate and worked) >So I assume that I'm setting the new flag in a bad way, but I copied what >Alex suggested in his email inside the

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
That worked! curse! I wonder why I cannot came up with that! :) Thanks! 2016-10-24 18:51 GMT+02:00 Alex Harui : > > > On 10/24/16, 6:27 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > > wrote: > > >Hi, > > > >from my test, maven setup is working ( I tried other params like > >htmltem

MDL - possible different approach?

2016-10-24 Thread OmPrakash Muppirala
All (especially Carols and Alex), I have been following the conversations in the other thread about the approach to bring Material Design Lite (MDL) theme to FlexJS. I was browsing through the Button.js class in MDL's implementation [1] My first instinct was to simply mimic how the implementatio

Re: MDL - possible different approach?

2016-10-24 Thread OmPrakash Muppirala
On Mon, Oct 24, 2016 at 11:17 AM, OmPrakash Muppirala wrote: > All (especially Carols and Alex), > I am very sorry, I meant Carlos. Auto-correct :-( > > I have been following the conversations in the other thread about the > approach to bring Material Design Lite (MDL) theme to FlexJS. I was

Re: MDL - possible different approach?

2016-10-24 Thread Alex Harui
Interesting. I didn't realize that MDL was more than just CSS. If you look at their init() method, it does exactly what I would NOT want most FlexJS widgets to do. It runs an if statement on the classList to decide which elements to generate. Of course, the MDL library can call their code, and

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Josh Tynjala
I like Alex's suggestion of making beads for each variation you can add (fab, ripple, etc.). Feels like the FlexJS way to do it. - Josh On Oct 24, 2016 11:18 AM, "Carlos Rovira" wrote: Ok, I see, right now I'm using something like you say: while the base class selectors are asigned in AS3 MDL

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread OmPrakash Muppirala
+1 for implementing it based on beads. mdl:DefaultMDLButton would look like this: We could simply use DefaultMDLButton in our code instead of having to write out all the beads, if the user so chooses. Thanks, Om On Mon, Oct 24, 2016 at 12:10 PM, Josh Tynjala wrot

Re: MDL - possible different approach?

2016-10-24 Thread Carlos Rovira
Hi, Om, whatever thing we do to get the best implementation the better, so great that you give it a look. I checked the files and I was going through examples, but I think I'm doing similar to that code for example. the button in flexjs is: element = document.createElement('button')

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
I love beads, but in this case I think it would be very verbose don't you think? for example in Button: All has the same two selectors : mdl-button mdl-js-button (in my implementation this goes always) Then we have 8 optional selectors that could be combined in many ways. So for me de default b

[FlexJS] returning surrounding element in TextInput

2016-10-24 Thread Carlos Rovira
Hi, I'm subclassing TextInput (html) I need to create a div that surrounds the input. In html there is only input and that's the element returned. so my question is...how should I do to return the with the inside and makes the element points to the input (since the events and handlers depends o

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread OmPrakash Muppirala
I think the key point to look at is that we want favor composition over inheritance. In our case, Inheritance: This dictates that mdl:Button should implement an 'effect' setter/getter and code for handling the each of the values, regardless of whether we want an 'effect' in our button or not. C

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Carlos Rovira
Hi Om, the last sample seems good to me and I agree with avoid having the "effect" attribute in the class and promote composition. So to start, I would remove the "mdlEffect" attribute from mdl components and instead create a bead with it, ok? thanks! 2016-10-24 23:33 GMT+02:00 OmPrakash Muppira

Re: [FlexJS] returning surrounding element in TextInput

2016-10-24 Thread Alex Harui
Try setting element as input and positioner as div. Sent from my LG G3, an AT&T 4G LTE smartphone -- Original message-- From: Carlos Rovira Date: Mon, Oct 24, 2016 2:20 PM To: dev@flex.apache.org; Subject:[FlexJS] returning surrounding element in TextInput Hi, I'm subclassing TextInput

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Josh Tynjala
Om's idea of putting them all into one bead is interesting (because if MDL bakes all effects in regardless, so separate beads don't do anything except make the code more verbose). However, the strings with spaces in between seems like a place where making a typo is too easy. What about something li

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Alex Harui
On 10/24/16, 2:49 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Om, > >the last sample seems good to me and I agree with avoid having the >"effect" >attribute in the class and promote composition. So to start, I would >remove >the "mdlEffect" attribute from mdl components

Re: Flex news site and rss feed

2016-10-24 Thread Harbs
In the past I’ve used Yahoo! Pipes. That’s no longer an option, but heres’s some alternates: http://www.makeuseof.com/tag/12-best-yahoo-pipes-alternatives-look/ Harbs On Oct 24, 2016, at 7:44 AM, Alex Harui wrote: > I think Jude was referring to an RSS/Atom feed aggregator. IIRC, folks > with

Re: [FlexJS] returning surrounding element in TextInput

2016-10-24 Thread Carlos Rovira
Hi Alex, this seems not work. I have this: element = input as WrappedHTMLElement; positioner = div as WrappedHTMLElement; positioner.style.position = 'relative'; (div as WrappedHTMLElement).flexjs_wrapper = this; (input as WrappedHTMLEl

Re: [FlexJS] returning surrounding element in TextInput

2016-10-24 Thread Alex Harui
Hi Carlos, I'm not sure we have other components with a different positioner than element, so you may be in new territory. I do want it to work, so it is hopefully just a matter of fixing bugs. How is are the div's missing class selectors specified? I think UIBase className is only set on th

AW: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-24 Thread Christofer Dutz
So probably it would make sense to add this to the list of options for the maven plugin? Chris Von: Alex Harui Gesendet: Montag, 24. Oktober 2016 08:48:55 An: dev@flex.apache.org Betreff: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps) On 10/21/16, 4:35 PM,

AW: Reviving AS3-Commons

2016-10-24 Thread Christofer Dutz
I just moved the repo to the flex-extras repo ... had forgotten about that. Should make contributing easier for you guys. Chris Von: carlos.rov...@gmail.com im Auftrag von Carlos Rovira Gesendet: Freitag, 21. Oktober 2016 21:05:03 An: dev@flex.apache.org Betr

Re: Free Maven Training Video

2016-10-24 Thread Carlos Rovira
So great! I check few minutes and it has a great quality! Congrats! :) 2016-10-23 14:13 GMT+02:00 Christofer Dutz : > Hi guys, > > > today I have something special for you. Justin just finished the last post > processing of the Maven training I gave at ApacheCon NA 2016 in Vancouver. > This video