Re: How Apache manages FlexJS version in flex-sdk-description?

2016-11-30 Thread sankar
But for proper information purpose if Flex SDK releases comes with appropriate *version* value in flex-sdk-description, doesn't FlexJS SDKs also suppose to come with modified versioning figures (except 4.14.1 everytime)? -- View this message in context: http://apache-flex-development.247.n

Re: How Apache manages FlexJS version in flex-sdk-description?

2016-11-30 Thread Carlos Rovira
Hi Alex, I thought FlexJS has some dependency with FlexSDK yet...it's that not true? That will be awesome :) (I thought the maven ascii art when building that Chris puts was related to that dependency) 2016-12-01 8:22 GMT+01:00 Alex Harui : > > > On 11/30/16, 10:05 PM, "sankar" wrote: > > >

Re: [FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread Carlos Rovira
Hi Piotr, I saw your commit. I think is better to use classList.add in your case. classList.toggle is used to add/remove based on some condition. I think is working since as there's nothing now the toggle is like and add. El 1 de diciembre de 2016, 8:34, Carlos Rovira < carlos.rov...@codeoscopi

Re: [FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread Carlos Rovira
Hi Piotr, yes, you're right. I saw it as I did the commit, but as it was late I thought in get to it today. I'll make the changes as I can. Thanks! :) 2016-12-01 8:00 GMT+01:00 piotrz : > Carlos, > > I saw your commits with refactoring to classList. Maybe we should do same > in > "createElement"

Re: How Apache manages FlexJS version in flex-sdk-description?

2016-11-30 Thread Alex Harui
On 11/30/16, 10:05 PM, "sankar" wrote: > > >Apache Flex (FlexJS) 0.7.0 FP23.0 AIR23.0 en_US >*4.14.1* >20160905 > > > >I was wondering how Apache manages/marks version in >flex-sdk-description.xml >with it's releases? I noticed that from 0.5.0-0.7.0 and now in recent >nightly builds (0.8.0) *ve

Re: [FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread piotrz
Carlos, I saw your commits with refactoring to classList. Maybe we should do same in "createElement" for created components if it is possible to make it consistent? I just did it in Chip and ButtonChip. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: htt

Re: [FlexJX][Falcon] Binding support fixes/improvements

2016-11-30 Thread Alex Harui
On 11/30/16, 9:25 PM, "sankar" wrote: >Alex Harui wrote >> You should be able to convert ProductItemRenderer to MXML and use >> data-binding, or just have the AS version listen for the appropriate >>event >> fired from the data item. > >I've tried to create a new MXML component based on DataIte

How Apache manages FlexJS version in flex-sdk-description?

2016-11-30 Thread sankar
Apache Flex (FlexJS) 0.7.0 FP23.0 AIR23.0 en_US *4.14.1* 20160905 I was wondering how Apache manages/marks version in flex-sdk-description.xml with it's releases? I noticed that from 0.5.0-0.7.0 and now in recent nightly builds (0.8.0) *version* value is always 4.14.1. While in Flex SDKs the v

Re: [FlexJX][Falcon] Binding support fixes/improvements

2016-11-30 Thread sankar
Alex Harui wrote > You should be able to convert ProductItemRenderer to MXML and use > data-binding, or just have the AS version listen for the appropriate event > fired from the data item. I've tried to create a new MXML component based on DataItemRenderer, but I couldn't even build compiler star

Re: [FlexJS] index html template vars

2016-11-30 Thread Alex Harui
The compiler generates a new index.html. If the resource plugin runs first, then yes, the index.html will be overwritten, although if you use the resource plugin to generate the template, then the compiler should just fill in its part and not touch the stuff you added. On 11/30/16, 2:57 PM, "carl

Re: [FlexJS] Slider valueChange not working

2016-11-30 Thread Alex Harui
Slider is not a built-in in regular HTML so it has a model, view and controller beads. IIRC, you are kicking out a lot of default CSS that defines those beads. Have you explicitly brought them in? Otherwise the SliderMouseController may not be running. -Alex On 11/30/16, 3:20 PM, "carlos.rov..

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Alex Harui
On 11/30/16, 2:34 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >two things: > >a) Why it should be a UIBase and not a Container or ContainerBase? A Container is meant to accept an arbitrary set of child components and doesn't by default have a text or html property. IMO, inl

[FlexJS] Slider valueChange not working

2016-11-30 Thread Carlos Rovira
Hi can someone confirm that js:Slide is working? I created mdl:Slider from js:Slider and I'm trying to use the event "valueChange", but I think is not implemented. I'm trying to search in examples but seems is not used yet. I expect to get some example of use to apply in my example... I seek for

Re: [FlexJS] index html template vars

2016-11-30 Thread Carlos Rovira
Hi Chris, I just tried with maven using the following link https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html in pom.xml insert: indigo pink added filtering true here: src/main/resources true in mdl-js-index-template.html use the v

Re: [FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread Carlos Rovira
I think there's no need of utility class. If you see classList API it has all needed methods (add/remove/toggle) or at least I don't find right now more needsmaybe as I use.. So is just use "element.classList.add(some class)" or other uses like this 2016-11-30 23:27 GMT+01:00 Alex Harui :

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Carlos Rovira
two things: a) Why it should be a UIBase and not a Container or ContainerBase? b) I think a bead should right to do this so we could apply to whatever component (regarding a was not a problem) 2016-11-30 23:26 GMT+01:00 Alex Harui : > > > On 11/30/16, 2:14 PM, "carlos.rov...@gmail.com on behal

Re: [FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread Alex Harui
On 11/30/16, 2:16 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Right, > >I'm with you that an utility class will be good for the rest of FlexJS, >and >as well maybe is great as well support IE9. > >So for MDL I'll continue with this refactor of classList only in MDL, >right?

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Alex Harui
On 11/30/16, 2:14 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >> I'm trying to understand your scenario. Can you post some simple MXML >>of >> what you want to do? MXML is not HTML and I'm not sure it should be. >> Changing MXML might impact IDEs which I don't think we sho

Re: [FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread Carlos Rovira
Right, I'm with you that an utility class will be good for the rest of FlexJS, and as well maybe is great as well support IE9. So for MDL I'll continue with this refactor of classList only in MDL, right? 2016-11-30 20:27 GMT+01:00 Alex Harui : > > > On 11/30/16, 11:16 AM, "Carlos Rovira" >

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Carlos Rovira
> I'm trying to understand your scenario. Can you post some simple MXML of > what you want to do? MXML is not HTML and I'm not sure it should be. > Changing MXML might impact IDEs which I don't think we should do. > > I think I don't want to change MXML, I want just get one type of output that we

Re: [FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread Alex Harui
On 11/30/16, 11:16 AM, "Carlos Rovira" wrote: >Hi Alex, > >You mean in the case of The rest of flexjs not in mdl? Yes, the rest of FlexJS. If MDL is heavily dependent on changing classnames then the MDL library should support that. But all of our other examples are working just fine without t

Re: [FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread Carlos Rovira
Hi Alex, You mean in the case of The rest of flexjs not in mdl? El El mié, 30 nov 2016 a las 19:49, Alex Harui escribió: > On 11/30/16, 10:34 AM, "carlos.rov...@gmail.com on behalf of Carlos > Rovira" > wrote: > >So in order to extend the classList changes to the rest of MDL framework > >in >

Re: [FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread Alex Harui
On 11/30/16, 10:34 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >So in order to extend the classList changes to the rest of MDL framework >in >FlexJS, I'm motivated to do so, but hope you could share your thoughts >here. > >What is clear is that className management is a nightma

[FlexJS][Discuss] Test classList in mdl:Button

2016-11-30 Thread Carlos Rovira
Hi, I just committed a change: 3f4d5edcef3a519fd470c2622cbd60118d83b579 Is a change in MDL Button class to manage changes of classes with classList. I'm pretty happy with the results since: 1.- the resulting html code is perfect. Before there was some preceding whitespaces in html class generate

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Alex Harui
On 11/30/16, 9:51 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >maybe talking about ul/li was bad. UL/LI is working. I think both are >containers, since LI could have direct text or other tags (span, button, >and so on...) >I use it in an example in MDLExample/Tab

Re: [FlexJS] allow "-" in ids

2016-11-30 Thread Carlos Rovira
I think this is not critical, but seems a restriction for us since that is not found in HTML (don't know if in other tech/languages what happens)... If it's very complicated, maybe we could left go for the moment and revisit some time in the future as things are more settled 2016-11-30 17:27 GMT+0

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Carlos Rovira
Hi Alex, maybe talking about ul/li was bad. UL/LI is working. I think both are containers, since LI could have direct text or other tags (span, button, and so on...) I use it in an example in MDLExample/Tabs Hope you could revise the rest of the email about output the other kind of output that is

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread Alex Harui
On 11/30/16, 8:47 AM, "piotrz" wrote: >My idea is that I just don't want to actually implement any specific >things. >It will be just interface with good name which indicates that - If your >View >implement it - You should put there logic which "merging", "conecting" two >Beads in order to cre

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread piotrz
My idea is that I just don't want to actually implement any specific things. It will be just interface with good name which indicates that - If your View implement it - You should put there logic which "merging", "conecting" two Beads in order to create something new. In case of MDL: DeletableChi

Re: [FlexJS] index html template vars

2016-11-30 Thread Christofer Dutz
When using the maven resource plugin it should be relatively easy to do this ... Chris Am 29.11.16, 23:48 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos Rovira" : Can I create a custom var in html template? if so how? for example, I'd like to add to my html ${color} (just l

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread Alex Harui
On 11/30/16, 8:24 AM, "piotrz" wrote: >Alex, > >By "Merge Bead" I mean scenario where one bead needs the second one, so >I'm >taking both in order to produce some HTML content. Could it make sense >also >for non MDL components ? I haven't looked at this Chip component very closely. I can't te

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread piotrz
Alex, By "Merge Bead" I mean scenario where one bead needs the second one, so I'm taking both in order to produce some HTML content. Could it make sense also for non MDL components ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-deve

Re: [FlexJS] allow "-" in ids

2016-11-30 Thread Alex Harui
On 11/30/16, 8:03 AM, "Josh Tynjala" wrote: >Remember that an MXML object with an id becomes a member property of the >class in Actionscript. Actionscript identifiers cannot contain the "-" >character. If this were allowed by the compiler, the only way to access >the >property from Actionscript

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Alex Harui
In my mind, UL/OL would be a container, but LI would not. It would be a UIBase that has a text/html property like Label. All child textNodes would be assigned to the html property. Is there some reason that wouldn't work? -Alex On 11/30/16, 3:41 AM, "carlos.rov...@gmail.com on behalf of Carlos

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread Alex Harui
On 11/30/16, 1:58 AM, "piotrz" wrote: >Alex, > >To my mind came up following idea. I could introduce interface >IMergeBeads. >View will implement this interface and logic inside will take over how >actually beads will be merged. > >Is it make sense ? Seems worth trying. I would suggest interf

Re: [FlexJS] index html template vars

2016-11-30 Thread Alex Harui
On 11/30/16, 1:52 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Are you saying we could make a bead to decorate the index.html...don't >understand exactly the proposed solution. I thought beads was something >inside the framework, nothing to do in the html template... A bead

Re: [FlexJX][Falcon] Binding support fixes/improvements

2016-11-30 Thread Alex Harui
On 11/30/16, 12:44 AM, "sankar" wrote: >I was recently testing 0.8.0 FlexJS nightly build, and I must say binding >is >more responsive here than 0.7.0 version. I was testing by the example >project 'DataGridExample', and my interest was to see if data binding is >working in grid item renderer a

Re: [FlexJS] allow "-" in ids

2016-11-30 Thread Josh Tynjala
Remember that an MXML object with an id becomes a member property of the class in Actionscript. Actionscript identifiers cannot contain the "-" character. If this were allowed by the compiler, the only way to access the property from Actionscript would need to be with bracket syntax: this["complex

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Carlos Rovira
Hi Alex, retaking this where we left it. I added Ul and Li components. And as containers are ok. Now revisiting the Div component I did just to get : some text I think is not the way to go. There's already other ways in flexjs to get that. Today recreating the example here: https://getmdl.io/c

[FlexJS] allow "-" in ids

2016-11-30 Thread Carlos Rovira
Hi, I'm finding while recreating MDL example code that we don't like ids with "-" I think we could allow. At least I don't know of a reason we should not do it. -- Carlos Rovira http://about.me/carlosrovira

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread Yishay Weiss
Yes, I mean loading inside DeletableChip. From: piotrz Sent: Wednesday, November 30, 2016 12:06 PM To: dev@flex.apache.org Subject: Re: [FlexJS, MDL] Add icon to DeletableChip Hi Yishay, How would I use such util in my case when I

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread piotrz
Alex, To my mind came up following idea. I could introduce interface IMergeBeads. View will implement this interface and logic inside will take over how actually beads will be merged. Is it make sense ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: h

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread piotrz
Hi Yishay, How would I use such util in my case when I whant to "merge" two beads? DeletableChip whant to use MaterialIcons bead - You mean loading inside DeletableChip? If you could elaborate more on your idea. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in co

Re: [FlexJS] index html template vars

2016-11-30 Thread Carlos Rovira
Are you saying we could make a bead to decorate the index.html...don't understand exactly the proposed solution. I thought beads was something inside the framework, nothing to do in the html template... btw, I think if we could create our own vars for html template will be very useful so people co

Re: [FlexJS] Accesing parent

2016-11-30 Thread Carlos Rovira
That did the trick Alex, Thanks! :) 2016-11-30 8:22 GMT+01:00 Alex Harui : > > > On 11/29/16, 10:53 PM, "carlos.rov...@gmail.com on behalf of Carlos > Rovira" carlos.rov...@codeoscopic.com> wrote: > > >In MDL Tabbar component and subcomponents has a className when used for > >layout and another

Re: [FlexJX][Falcon] Binding support fixes/improvements

2016-11-30 Thread sankar
I was recently testing 0.8.0 FlexJS nightly build, and I must say binding is more responsive here than 0.7.0 version. I was testing by the example project 'DataGridExample', and my interest was to see if data binding is working in grid item renderer as well. Is this doable with present nightly buil