[FlexJS] Support for CSS calc() function

2016-12-30 Thread OmPrakash Muppirala
I'm trying to use the calc() function [1] in my CSS like this: .demo-card-wide.mdl-card { width: calc((100% - 50px)/3); } I'm using the calc() function to create 3 columns of equal width regardless of browser size. With FlexJS, I'm seeing a compile error: C:\p\flexroot\git\flex-asjs\example

[FlexJS] MDL List layout

2016-12-30 Thread OmPrakash Muppirala
Carlos/Piotr, What is the right way to horizontal flow layout for an mdl:List? I tried using the HorizontalFlowLayout, but I don't think they are compatible. I ended up doing this: .membersList { display: flex !important; flex-direction: row; flex-wrap: wrap; justify-content: sp

Re: [FlexJS] MDL List layout

2016-12-30 Thread Carlos Rovira
Hi Om, we didn't create any "layout" yet in MDL like in FlexJS, but the ones exposed in MDL (Grid,...) and we should think about it If we can introduce some layout beads or if MDL components and layouts has it as native implementations. for example, "flow" is considered in Grid component, since t

Re: [FlexJS] Support for CSS calc() function

2016-12-30 Thread Carlos Rovira
Hi Om, I suggest you log a bug in Jira and assign it to Alex, since he fixed many other CSS bugs. We are getting close to get a decent CSS support in FlexJS :) thanks 2016-12-30 9:04 GMT+01:00 OmPrakash Muppirala : > I'm trying to use the calc() function [1] in my CSS like this: > > .demo-card-

Re: [FlexJS] Slider valueChange not working

2016-12-30 Thread Carlos Rovira
Hi Piotr, just checked and rebuild and Slider valueChange is working as I left. You can check the examples in MDLExample > Sliders page ​

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread piotrz
Hi Alex, Thanks. That definately make sense to me. I'll try to look deeper into List or some other component and reuse "selected" or "change". I'm rather thinking about "change" - cause "selected" brings to mind something which is constant from UI point of view. When you click on the menu you expe

Re: [FlexJS, MDL] SnackbarModel and events

2016-12-30 Thread Carlos Rovira
> Carlos, > > In my opinion we should use FlexJS event and not introduce new code for > that. Although if you have some specific idea with bootstraper feel free to > show. > > Piotr > I really does not talk to introduce new events, in Slider, I must to get the slider change event that the MDL con

Re: [FlexJS] Probable design to support runtime update to DataGrid component

2016-12-30 Thread piotrz
As for 1: Even if they in original source - we should probably unregister them once we get what we want. Definately Peter will know better. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Probab

Re: [FlexJS] Slider valueChange not working

2016-12-30 Thread piotrz
Carlos, And it's started :) It do not work on my Chrome, but working in other browsers. Could you give a try on your Chrome if you have. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-

Re: [FlexJS] Slider valueChange not working

2016-12-30 Thread piotrz
I've cleared browser catche before I tested it. - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Slider-valueChange-not-working-tp56846p57659.html Sent from the Apache Flex Development mailing list archi

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread Carlos Rovira
2016-12-29 18:41 GMT+01:00 piotrz : > Hi Carlos, > > Since I've finished Snackbar I can take next task. :) I see that Menu need > to be updated with dataProvider and item renderer API. > I will probably go same direction as you went with Lists - using > ISelectionModel. I'm going also introduce in

Re: [FlexJS] Slider valueChange not working

2016-12-30 Thread Carlos Rovira
Hi Piotr, just tried in Safari (is what I use most of the time), Google Chrome and Firefox and all is ok. I'm on macOS Sierra, you are on windows? maybe the OS is making some problem? 2016-12-30 10:58 GMT+01:00 piotrz : > I've cleared browser catche before I tested it. > > > > - > Apache Fle

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread piotrz
Carlos, One question why you didn't use "DataItemRendererFactoryForArrayData" from core package in List ? You just copied and create new class "ItemRendererFactoryForArrayData" - I don't see diffs. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://a

Re: [FlexJS] Slider valueChange not working

2016-12-30 Thread piotrz
I will try later on second laptop and yes I'm on Windows 10. Maybe something is wrong with my Chrome. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Slider-valueChange-not-working-tp56846p576

Re: [FlexJS] Slider valueChange not working

2016-12-30 Thread Carlos Rovira
Could you try in Firefox? 2016-12-30 11:18 GMT+01:00 piotrz : > I will try later on second laptop and yes I'm on Windows 10. Maybe > something > is wrong with my Chrome. :) > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-fle

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread Carlos Rovira
I copied from the Peter example "ListExample" 2016-12-30 11:14 GMT+01:00 piotrz : > Carlos, > > One question why you didn't use "DataItemRendererFactoryForArrayData" from > core package in List ? You just copied and create new class > "ItemRendererFactoryForArrayData" - I don't see diffs. > > Pio

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread piotrz
I went through List implementation and see that contents of data provider is handled by: "IDataProviderItemRendererMapper" implementation. It creates item renderers for my view. I think I could go with following implementation: MenuView will implement IListView or event extends current ListView.

Re: [FlexJS] Slider valueChange not working

2016-12-30 Thread piotrz
It's working on Edge and Firefox on my PC. - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Slider-valueChange-not-working-tp56846p57667.html Sent from the Apache Flex Development mailing list archive at

[FlexJS] Cleaning up in the compiler

2016-12-30 Thread Christofer Dutz
Hi, Today I created a new branch “feature-autobuild/cleanup” in which I am planning on cleaning up stuff. As a first test, I replaced usages of “System.out.print(ln)” and “System.err.print(ln)” with Log4J 2 loggers and made sure we have a CI build for this. It would be great if someone from the

Re: [FlexJS] Slider valueChange not working

2016-12-30 Thread Carlos Rovira
Maybe others on windows could test it? El El vie, 30 dic 2016 a las 11:49, piotrz escribió: > It's working on Edge and Firefox on my PC. > > > > > > > > - > > Apache Flex PMC > > piotrzarzyck...@gmail.com > > -- > > View this message in context: > http://apache-flex-development.247.n4.n

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread Carlos Rovira
Rigth, i'm off and don't hace access to code but I think menu could be a list and menuitem could be a itemrenderer but be free to experiment :) El El vie, 30 dic 2016 a las 11:47, piotrz escribió: > I went through List implementation and see that contents of data provider > is > > handled

Re: [FlexJS] Support for CSS calc() function

2016-12-30 Thread Alex Harui
On 12/30/16, 1:15 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Om, > >I suggest you log a bug in Jira and assign it to Alex, since he fixed many >other CSS bugs. We are getting close to get a decent CSS support in FlexJS >:) Definitely file a JIRA. But Om, or anybody, i

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread Alex Harui
On 12/30/16, 2:31 AM, "piotrz" wrote: >In other words our Menu will be some kind of MDL List form. For a simple Menu this should be fine. For a Menu with sub-menus, it will need many of the things Tree needs. I don't know if MDL has a Tree, or not. Just me thinking out loud... -Alex

Re: [FlexJS, MDL] SnackbarModel and events

2016-12-30 Thread Alex Harui
On 12/30/16, 1:38 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: > >I really does not talk to introduce new events, in Slider, I must to get >the slider change event that the MDL control is dispatching and then make >our slider flexjs component throw a "valueChange" flexjs even

Re: [FlexJS] Cleaning up in the compiler

2016-12-30 Thread Alex Harui
On 12/30/16, 3:39 AM, "Christofer Dutz" wrote: >Hi, > >Today I created a new branch “feature-autobuild/cleanup” in which I am >planning on cleaning up stuff. As a first test, I replaced usages of >“System.out.print(ln)” and “System.err.print(ln)” with Log4J 2 loggers >and made sure we have a CI

Re: [FlexJS] Cleaning up in the compiler

2016-12-30 Thread Christofer Dutz
Well It should be pushed as Jenkins is already building it ;-) https://builds.apache.org/view/E-G/view/Flex/job/FlexJS%20Pipeline/job/feature-autobuild%252Fcleanup/5/ But I started writing that email two days ago and had it waiting in the background till I noticed that I never sent it. I’ll give

Re: [FlexJS] Support for CSS calc() function

2016-12-30 Thread Carlos Rovira
Hi Alex, a brief summary in this email of where we should look, classes involved and some explanations of what should we find would be a great place to start. thanks! 2016-12-30 16:48 GMT+01:00 Alex Harui : > > > On 12/30/16, 1:15 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > > wrot

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread Carlos Rovira
In the examples I found there's no sub items, but we should look to see if there's more. I think that should be supported, if not a menu with only one level seems very limited to me... 2016-12-30 16:54 GMT+01:00 Alex Harui : > > > On 12/30/16, 2:31 AM, "piotrz" wrote: > > >In other words our Me

Re: [FlexJS] Cleaning up in the compiler

2016-12-30 Thread Christofer Dutz
Ok … so I did something … hope it’s correct … I was a little surprised to find Ant build scripts in “src/main/resources” and “src/test/resources” any reason for packing in these parts of the build scripts into the final jar? Chris Am 30.12.16, 17:23 schrieb "Christofer Dutz" : Well It shou

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread piotrz
If I understand correctly it is planned for v2 [1] of MDL. I need to think about support sub menu. In theory one of my item renderer MenuItem could be submenu. [1] https://github.com/google/material-design-lite/issues/4235 Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this mess

Re: [FlexJS, MDL] Menu with dataProvider and itemRenderer API

2016-12-30 Thread OmPrakash Muppirala
On Dec 30, 2016 8:31 AM, "Carlos Rovira" wrote: In the examples I found there's no sub items, but we should look to see if there's more. I think that should be supported, if not a menu with only one level seems very limited to me... Angular Material has menu with sub menus. We should definit

Re: AW: How to put an example online

2016-12-30 Thread PKumar
I have seen the following URL without login. https://s.apache.org/MDLExample Controls are looking great. it will be better if we can use individual control and create demo for other users. As we have example in tour de flex. -- View this message in context: http://apache-flex-development.233

Re: [FlexJS] Cleaning up in the compiler

2016-12-30 Thread Alex Harui
On 12/30/16, 8:38 AM, "Christofer Dutz" wrote: >Ok … so I did something … hope it’s correct … I was a little surprised to >find Ant build scripts in “src/main/resources” and “src/test/resources” >any reason for packing in these parts of the build scripts into the final >jar? I thought that's w

Re: AW: How to put an example online

2016-12-30 Thread Christofer Dutz
Well that’s just a shortened url to the ASF Jenkins build job which seems to be working at it’s limits (Had about 30 seconds wait till the response came back) Chris Am 30.12.16, 18:34 schrieb "PKumar" : I have seen the following URL without login. https://s.apache.org/MDLExample

Re: [FlexJS] Cleaning up in the compiler

2016-12-30 Thread Christofer Dutz
Hi Alex, Well I don’t really care where the Ant scripts are … from my point of view I would suggest to have all build scripts in the root of the module they belong to, or in some direct sub-directory which indicates it’s build relevance (“build”/”ant” or something similar). Stuff in the src/mai

Re: [FlexJS] Support for CSS calc() function

2016-12-30 Thread Alex Harui
On 12/30/16, 8:30 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, a brief summary in this email of where we should look, classes >involved and some explanations of what should we find would be a great >place to start. thanks! It looks like calc() is a function. It lo

Re: AW: How to put an example online

2016-12-30 Thread piotrz
PKumar, I think that may be our last step once we finished all work on components [1] itself. [1] https://cwiki.apache.org/confluence/display/FLEX/Table+Of+Components Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247

Re: AW: How to put an example online

2016-12-30 Thread OmPrakash Muppirala
If no one has objections, I will put this up on my personal github site for now. Thanks, Om On Dec 30, 2016 10:41 AM, "piotrz" wrote: > PKumar, > > I think that may be our last step once we finished all work on components > [1] itself. > > [1] https://cwiki.apache.org/confluence/display/FLEX/Ta

RE: [FlexJS] Slider valueChange not working

2016-12-30 Thread Yishay Weiss
It works on my windows 10 machine on Chrome, FF, IE. Edge doesn’t show the slider button for some reason. Nice demo. I think when people see the source code, alongside the elegant result, they’ll be all the more curious about FlexJS. From: Carlos Rovira S

Re: [FlexJS] Slider valueChange not working

2016-12-30 Thread Carlos Rovira
Thanks Yishay, for take a look and for the nice words :) Since we are building the exact HTML in the MDL examples, I think that if ours is failing, so that should be happening with official MDL library... 2016-12-30 20:41 GMT+01:00 Yishay Weiss : > It works on my windows 10 machine on Chrome, FF

Re: AW: How to put an example online

2016-12-30 Thread Carlos Rovira
Sorry to begin late to the thread. I just tried the link and is working for me, but is very slow, don't know if is due to my poor internet connection here in my wifi and/or apache build servers having huge load or not prepare to serve this content. Om If you want to upload to your personal GitHub

RE: [FlexJS] Slider valueChange not working

2016-12-30 Thread Josh Tynjala
Yishay and Piotr, It might help Carlos if you can open up the browser's developer tools when the demo fails and post any errors you see in the console. Even if he can't reproduce himself, a null reference or something at a specific line might be enough of a clue. - Josh On Dec 30, 2016 11:41 AM,

Re: AW: How to put an example online

2016-12-30 Thread Alex Harui
On 12/30/16, 11:22 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >If no one has objections, I will put this up on my personal github site >for >now. Are you setting up CI for it as well or just posting the output? I can probably also get this running on apacheflexbuilds. Mo

Re: AW: How to put an example online

2016-12-30 Thread Alex Harui
On 12/30/16, 10:24 AM, "piotrz" wrote: >PKumar, > >I think that may be our last step once we finished all work on components >[1] itself. > >[1] https://cwiki.apache.org/confluence/display/FLEX/Table+Of+Components Any volunteer is welcome to start now. Should we create a new git repo for a To

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

2016-12-30 Thread flex . ci . builds
flex-sdk_release-candidate - Build #185 - 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/185/.

Re: AW: How to put an example online

2016-12-30 Thread OmPrakash Muppirala
I can work on the permanent solution after I wrap up the Flex team page app (i.e. soon) Chris, I am thinking of setting up a Jenkins web hook that builds and posts a new TourDeFlexJS web app every time a commit is made to a new TourDeFlexJS git repo. The website can be my personal github site for