RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread piotrz
I think everything in your Util is ok. If I wanted to have more components which bead provide I will create separate bead which provide such feature. :) Piotre - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS] get rid of inline styles (was Re: [FlexJS]Layout problems)

2016-12-01 Thread Alex Harui
Re-ordering your post so I can address higher-level points first: On 12/1/16, 4:55 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: > >But Basic set is at the core of >all. Is at the core of MDL set > > This statement

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread piotrz
Exactly. Cause in MDL we may want Two icons, so there will be two beads, or it's something which beads not for ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: Snippets for FlexJS

2016-12-01 Thread Christian Gotschim
Hi Alex, > Thanks for offering to help. We could use all the help we can get. > > I don't know what your areas of expertise are and how much time you have, > and I don't quite know how you want to organize the list, but you might be > able to write code to build out the list of components. My

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread Yishay Weiss
I’m not sure I understand the scenario. Do you mean that a user can abuse the mxml and feed duplicate beads to the strand? From: piotrz Sent: Friday, December 2, 2016 12:51 AM To: dev@flex.apache.org Subject: RE: [FlexJS, MDL] Add

Re: git commit: [flex-asjs] [refs/heads/develop] - - Add first Material Icons beads "cancel" and "add" - Use "add' material icon bead in Buttons example - Add missing classList - Throw error Deletable

2016-12-01 Thread piotrz
One question - does "md-48" is something what can you put to every "material-icons" or it's something specific to some choosen elements? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: Snippets for FlexJS

2016-12-01 Thread Alex Harui
Hi Christian, Thanks for offering to help. We could use all the help we can get. I don't know what your areas of expertise are and how much time you have, and I don't quite know how you want to organize the list, but you might be able to write code to build out the list of components. If you

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

2016-12-01 Thread Alex Harui
On 12/1/16, 8:21 PM, "sankar" wrote: > >> Alex Harui wrote >> Peter knows this example better, so I'll ask him to answer. > >That sounds good! > > >> Alex Harui wrote >> I envision several kinds of view, >> controller and model beads to manage this complexity. I'm not

Snippets for FlexJS

2016-12-01 Thread Christian Gotschim
I've been thinking about the complaints I’ve read on this list about the missing documentation for FlexJS and I’d like to do something to help out. I’ve used AS3/Flex for many years, and I’m now trying to get a hang of FlexJS. So I thought it might be a good starting point for FlexJS newbies

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

2016-12-01 Thread sankar
-- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJX-Falcon-Binding-support-fixes-improvements-tp54632p56908.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] get rid of inline styles (was Re: [FlexJS]Layout problems)

2016-12-01 Thread OmPrakash Muppirala
On Thu, Dec 1, 2016 at 4:55 PM, Carlos Rovira wrote: > > I wish I could agree, but I don't think I can. IMO, some component > > features can only be implemented by setting style properties. In the > > example above, to keep Label as single-line (so you don't have to us

Re: [FlexJS] get rid of inline styles (was Re: [FlexJS]Layout problems)

2016-12-01 Thread Carlos Rovira
> I wish I could agree, but I don't think I can. IMO, some component > features can only be implemented by setting style properties. In the > example above, to keep Label as single-line (so you don't have to us > and can just use space), we must set white-space:no-wrap. Allowing folks > to

Re: [FlexJS] (Att: Peter Ent) Get rid of extra divs layers we don't want (was Re: [FlexJS]Layout problems)

2016-12-01 Thread Peter Ent
I'll look into this tomorrow. Peter On Dec 1, 2016, at 7:09 PM, Carlos Rovira wrote: >> >> Anyway, Peter might be able to better answer your question, but it appears >> that if you create some new subclass of UIBase and have it return 'this' >> for layoutHost and

Re: [FlexJS] get rid of inline styles (was Re: [FlexJS]Layout problems)

2016-12-01 Thread Alex Harui
On 12/1/16, 4:01 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >to separate things: > >Such as? Depending on your layout, left, top, width, and height will be >> set in CSS. In UIBase, setting the x value sets

[FlexJS] (Att: Peter Ent) Get rid of extra divs layers we don't want (was Re: [FlexJS]Layout problems)

2016-12-01 Thread Carlos Rovira
> > Anyway, Peter might be able to better answer your question, but it appears > that if you create some new subclass of UIBase and have it return 'this' > for layoutHost and contentView, that the ListView might then just stick > the children in the outer div. See how MXMLItemRenderer (which I >

[FlexJS] get rid of inline styles (was Re: [FlexJS]Layout problems)

2016-12-01 Thread Carlos Rovira
to separate things: Such as? Depending on your layout, left, top, width, and height will be > set in CSS. In UIBase, setting the x value sets style.left, etc. If > there is an alternative, please let me know what it is. > -Alex > > I get this: some texta button from this:

Re: [FlexJS]Layout problems

2016-12-01 Thread Alex Harui
On 12/1/16, 2:43 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >> Can you be more specific? I thought most components were picking up all >> of their styles from defaults.css. Which components aren't doing

Re: git commit: [flex-asjs] [refs/heads/develop] - - Add first Material Icons beads "cancel" and "add" - Use "add' material icon bead in Buttons example - Add missing classList - Throw error Deletable

2016-12-01 Thread Piotr Zarzycki
Carlos, Do you think that "MaterialIcons" class should extends "I" and implements "IBead". Derived classes like MaterialIconCancel will apply only MaterialIconsType.Cancel ? Piotr 2016-12-02 0:26 GMT+01:00 : > Repository: flex-asjs > Updated Branches: > refs/heads/develop

Re: [FlexJS] List Structure

2016-12-01 Thread Carlos Rovira
Hi Alex, I forgot to respond to this email. I got the selection working with your indications. Thanks! :) Hope we could work in get rid of the extra div as we talked in the layout problems thread. 2016-11-28 7:12 GMT+01:00 Alex Harui : > Actually, I was looking at the wrong

Re: [FlexJS][Maven] filtering variables in index html template file by maven resources plugin (was Re: [FlexJS] index html template vars)

2016-12-01 Thread Carlos Rovira
That make the trick! Thanks Alex! :) Now MDLExample could be customized with this: https://getmdl.io/customize/index.html using the two vars is pom.xml suited for that task :) 2016-12-01 23:51 GMT+01:00 Alex Harui : > > > On 12/1/16, 2:32 PM, "carlos.rov...@gmail.com on behalf

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread piotrz
Yishay, What if we have two exactly same Bead ? I think util doesn't cover this scenario. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS][Maven] filtering variables in index html template file by maven resources plugin (was Re: [FlexJS] index html template vars)

2016-12-01 Thread Alex Harui
On 12/1/16, 2:32 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Ok, > >so let say I have > >${basedir}/src/main/resources/mdl-js-index-template.htmlmlTemplate> > >so "mdl-js-index-template.html" is the file

Re: [FlexJS]Layout problems

2016-12-01 Thread Carlos Rovira
> Can you be more specific? I thought most components were picking up all > of their styles from defaults.css. Which components aren't doing this? > > Most used like Container, Label or Button not. If you check html output you will see kilometric properties assigned to style attribute. > I

Re: [FlexJS][Maven] filtering variables in index html template file by maven resources plugin (was Re: [FlexJS] index html template vars)

2016-12-01 Thread Carlos Rovira
Ok, so let say I have ${basedir}/src/main/resources/mdl-js-index-template.html so "mdl-js-index-template.html" is the file processed by the compiler, that file does not have the vars "primary" and "accent" inside (since it will be overridden) and so this will not be used. If I create another

Re: [FlexJS]js:List

2016-12-01 Thread Harbs
An array makes it work. Thanks. On Dec 1, 2016, at 1:26 PM, yishayw wrote: > Did you try feeding the data provider with an array instead of an arraylist? > The model seems to expect that. > > > > -- > View this message in context: >

Re: [FlexJS][Maven] filtering variables in index html template file by maven resources plugin (was Re: [FlexJS] index html template vars)

2016-12-01 Thread Alex Harui
This was discussed earlier in another thread. IIRC Chris says resources processing before compiling is the default in Maven and we shouldn't change it. I think you have the options of: 1) using -html-output-filename to tell the compiler to generate a different filename that won't bash the one

[FlexJS][Maven] filtering variables in index html template file by maven resources plugin (was Re: [FlexJS] index html template vars)

2016-12-01 Thread Carlos Rovira
I can confirm that compiler is overriding maven changes If I use mvn clean process-resources I can see the file with the right changes, and I think this is what we need. So how could we change the order of this (first compiler, then process resources)? Some thoughts? El 1 de diciembre de

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

2016-12-01 Thread Christofer Dutz
I should investigate some way to patch existing flash builder code with something like aspectj ... Had write some success with stuff like that in the past. Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Josh Tynjala

Re: [FlexJS] Slider valueChange not working

2016-12-01 Thread Carlos Rovira
Hi Alex, I'm trying to bring the beads I removed while excluding default.css and one thing I found is that SliderView is not declared in basic-manifest ergo not shipping with HTML.swc and it can't be found when compile MDLExample. If I try to add it throws lots of errors. I think we should have

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 447 - Still Failing

2016-12-01 Thread Alex Harui
Thanks for fixing it. Is there any way we can get a "build fixed" message from the MAVEN-BUILD server? -Alex On 12/1/16, 6:23 AM, "Christofer Dutz" wrote: >Ok ... so there was a locked file in the html modules target directory. >Sould be solved now ☺ > >Chris > >Am

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

2016-12-01 Thread Alex Harui
Peter knows this example better, so I'll ask him to answer. Keep in mind that with pay-as-you-go, every level of functionality adds code. The smallest DG would not expect any changes: it would just display the data in its columns. The next level of change support is adding and removing whole

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

2016-12-01 Thread Josh Tynjala
It's impossible for us to put the real version number for FlexJS in the element because Flash Builder thinks 0.8.0 is not a valid version for a Flex SDK. We're basically tricking Flash Builder into thinking our SDK is Flex 4. Adobe no longer updates Flash Builder, so we can't convince them to add

Re: [FlexJS]Layout problems

2016-12-01 Thread Alex Harui
On 12/1/16, 1:57 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: > >In MDL we don't need any style tag and percents works ok. But if I use >some >HTML.swc comps I get the styles bloating my html and I don't want

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

2016-12-01 Thread Alex Harui
On 11/30/16, 11:41 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >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

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

2016-12-01 Thread Alex Harui
On 11/30/16, 11:33 PM, "sankar" wrote: >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)? Not

Re: [DISCUSS] Have a Flex project summit at ApacheCon NA 2017?

2016-12-01 Thread Alex Harui
On 12/1/16, 12:37 AM, "Christofer Dutz" wrote: >Hi guys, > >Apache is changing the mode in which ApacheCons are being held starting >with the next ApacheCon NA in Miami. >Instead of having a separate ApacheCon and Apache Big Data, this time >they will be held in

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread Yishay Weiss
I added StrandUtils.loadBead() to core. To see an example of how it’s used you can look in AccordionCollapseBead, which has the following line: _layout = StrandUtils.loadBead(IOneFlexibleChildLayout, "iBeadLayout", _strand) as

Re: git commit: [flex-asjs] [refs/heads/develop] - Export common bead loading logic to a utils class.

2016-12-01 Thread Piotr Zarzycki
Thanks Yishay. I was thinking more and more about that and I was going to write today that I will go to you suggestion with Util in my case with MDL Chip component. I will use it with pleasure.:) Piotr 2016-12-01 15:33 GMT+01:00 : > Repository: flex-asjs > Updated Branches:

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 447 - Still Failing

2016-12-01 Thread Christofer Dutz
Ok ... so there was a locked file in the html modules target directory. Sould be solved now ☺ Chris Am 01.12.16, 11:39 schrieb "Christofer Dutz" : Having a look at this, it seems the agent went offline during one build and after that there were problems cleaning

Re: [FlexJS]js:List

2016-12-01 Thread Peter Ent
There are beads designed for Array (the default set) and ArrayList. You need to change the data provider and selection models to match. There is code that does something like: dataProvider is Array and that will be null when the dataProvider is an ArrayList so the code will just return from that

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

2016-12-01 Thread piotrz
Carlos, I see commit. Great! :) I need to write first a long elaborate about this problem with "merging" beads in other thread, cause I have more concerns, before I get back to coding. Wish I could be in one office with you and all guys from Team we could solve it such things asap :) Piotr

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

2016-12-01 Thread Carlos Rovira
Hi Piotr, I think I finished the refactor to class list. I didn't touch your components since maybe you are working on them this will mess your work. So feel free to update as you could. thanks El 1 de diciembre de 2016, 8:37, Carlos Rovira < carlos.rov...@codeoscopic.com> escribió: > Hi Piotr,

Re: [FlexJS]js:List

2016-12-01 Thread yishayw
Did you try feeding the data provider with an array instead of an arraylist? The model seems to expect that. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-js-List-tp56870p56873.html Sent from the Apache Flex Development mailing list archive at

Re: [DISCUSS] Have a Flex project summit at ApacheCon NA 2017?

2016-12-01 Thread yishayw
Will look into that. Thanks. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/DISCUSS-Have-a-Flex-project-summit-at-ApacheCon-NA-2017-tp56860p56872.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] last git code doesn't work as of 2016 NOV 29

2016-12-01 Thread Pan Li
Hi Alex When I tested version I got about NOV 28 (which was last build success around 27), it failed to run app when wen have code like http://ns.adobe.com/mxml/2009; xmlns:local="*" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:ns="library://ns.apache.org/flexjs/html5">

[FlexJS]js:List

2016-12-01 Thread Harbs
I’m not sure if I’m doing something wrong, or there is an actual problem… I have the following markup in my mxml: I don’t know the content of the List until some point at runtime and Data Binding is too confusing for

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 447 - Still Failing

2016-12-01 Thread Christofer Dutz
Having a look at this, it seems the agent went offline during one build and after that there were problems cleaning up the html folder after that. Eventually there’s still a process having a lock on a file in there ... I’ll investigate the problem. Chris Am 01.12.16, 11:07 schrieb

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

2016-12-01 Thread sankar
Alex Harui wrote > But I think there isn't any code that will send itemUpdated if a field in > an item > changes, only if an item changes. Does the above means that if I updates a whole item, it suppose to reflect to the row UI? Does DataGrid has necessary codes to listen itemUpdate event at all,

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

2016-12-01 Thread Carlos Rovira
Hi Chris, that's awesome, since as FlexJS si new tech the older dependency on Flex SDK was a true problem. So great to see we don't have that load this days! :) 2016-12-01 9:26 GMT+01:00 Christofer Dutz : > Hi Carlos, > > I just used the Ascii Art to make it really

Re: [FlexJS]Layout problems

2016-12-01 Thread Carlos Rovira
If a VIEW bead could solve that problem and remove the nested div, that would be right for me...but we need some working example and a description of how to make that. With js:List I was searching without luck how to remove the extra div layer 2016-12-01 11:12 GMT+01:00 Harbs

Re: [FlexJS]Layout problems

2016-12-01 Thread Harbs
That’s something I alluded to in my post. Container components have double divs to accommodate View and (scroll viewports?). I don’t think this is generally needed in HTML and I think it causes more problems than it solves. There should probably be “lightweight” Container and “heavyweight”

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 447 - Still Failing

2016-12-01 Thread Carlos Rovira
mmm that's strange...I have the build running localy. Maybe this could be some effect due to the server change ? 2016-12-01 9:55 GMT+01:00 Apache Jenkins Server : > The Apache Jenkins build system has built FlexJS Framework (maven) (build > #447) > > Status: Still

Re: [FlexJS]Layout problems

2016-12-01 Thread Carlos Rovira
Hi, just to add something more here. I already mentioned the problems of div relative positioning in other threads. I as well think that having the basic set with predefined styles is not PAYG, and we get a bloated html full of tags with style attributes (div, span...). The problem Alex comment

Re: [DISCUSS] Have a Flex project summit at ApacheCon NA 2017?

2016-12-01 Thread Christofer Dutz
Hi Yishay, Well in that case I would strongly suggest that you apply for TAC (Travel Assistance) ... that’s what it’s made for :-) I did my first ApacheCon NA with TAC and so did several others. Chris Am 01.12.16, 09:59 schrieb "Yishay Weiss" : It

RE: [DISCUSS] Have a Flex project summit at ApacheCon NA 2017?

2016-12-01 Thread Yishay Weiss
It sounds like a good idea, but I’m not sure I’d have the resources to fly across the Atlantic for that. I’m hoping for a European (or Middle Eastern) event. From: Christofer Dutz Sent: Thursday, December 1, 2016 10:37 AM To:

[DISCUSS] Have a Flex project summit at ApacheCon NA 2017?

2016-12-01 Thread Christofer Dutz
Hi guys, Apache is changing the mode in which ApacheCons are being held starting with the next ApacheCon NA in Miami. Instead of having a separate ApacheCon and Apache Big Data, this time they will be held in parallel and will be starting on Tuesday going till Thursday. This is done to create

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

2016-12-01 Thread Christofer Dutz
Hi Carlos, I just used the Ascii Art to make it really obvious that the sdk converter kicks in as I was having some trouble in the beginning that maven didn’t pick up my exstension. In the FlexJS area I only use that to provide access to Air, Playerglobal and the Fontkit stuff ... As far as I