Re: git commit: [flex-asjs] [refs/heads/develop] - FLEX-35187 - explicitly set default border to none, so viewports can ignore non-existent borders.

2016-11-29 Thread yishayw
Duplicate. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-git-commit-flex-asjs-refs-heads-develop-FLEX-35187-explicitly-set-default-border-to-none-so-viewp-tp56763p56811.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] index html template vars

2016-11-29 Thread Alex Harui
On 11/29/16, 10:55 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >In MDL there is two vars in the CSS url that could change > >https://code.getmdl.io/1.2.1/material.indigo-pink.min.css";> > >here "indigo" and "pink" can be configure to other colors to get other >kind >of effec

Re: [FlexJS] Accesing parent

2016-11-29 Thread Alex Harui
On 11/29/16, 10:53 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >In MDL Tabbar component and subcomponents has a className when used for >layout and another when used in Tabs. >So I want only one component that set a className if their parent is >"Tabs" >component or other if

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread yishayw
yishayw wrote > > Alex Harui wrote >> I don't think we have standards on the way the beads work together. You >> will probably find it is easier to require that beads be added in a >> certain order than having to watch the strand for new beads and search >> the >> strand for a bead, but it is eas

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread yishayw
Alex Harui wrote > I don't think we have standards on the way the beads work together. You > will probably find it is easier to require that beads be added in a > certain order than having to watch the strand for new beads and search the > strand for a bead, but it is easier for the consumer to us

Re: [FlexJS] index html template vars

2016-11-29 Thread Carlos Rovira
In MDL there is two vars in the CSS url that could change https://code.getmdl.io/1.2.1/material.indigo-pink.min.css";> here "indigo" and "pink" can be configure to other colors to get other kind of effects in MDL 2016-11-30 6:20 GMT+01:00 Alex Harui : > > > On 11/29/16, 2:48 PM, "carlos.rov...@

Re: Nightly Builds unavailable at some point

2016-11-29 Thread Carlos Rovira
great! thanks Alex :) El 30 de noviembre de 2016, 2:48, Alex Harui escribió: > OK, looks like it is up and running again. > > On 11/29/16, 10:14 AM, "carlos.rov...@gmail.com on behalf of Carlos > Rovira" carlos.rov...@codeoscopic.com> wrote: > > >ok Alex,thanks! > > > >2016-11-29 18:59 GMT+01:0

Re: [FlexJS] Accesing parent

2016-11-29 Thread Carlos Rovira
In MDL Tabbar component and subcomponents has a className when used for layout and another when used in Tabs. So I want only one component that set a className if their parent is "Tabs" component or other if is other component. In createElement is where we use to set typeNames and className, but ma

Re: [FlexJS] index html template vars

2016-11-29 Thread Alex Harui
On 11/29/16, 2:48 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Can I create a custom var in html template? >if so how? >for example, I'd like to add to my html ${color} (just like ${body} or >${head} >Thanks No way to do it right now. How would you specify color? -Alex

Re: [FlexJS] Accesing parent

2016-11-29 Thread Alex Harui
Parent should be unavailable at createElement time. There is no guarantee when a component will be added to the DOM. It could be instantiated and have its properties set before being given a parent. Why do you need to know so early? And what code would set the parent so early? -Alex On 11/29/

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Alex Harui
Not sure I have an opinion about how the beads should work together. I'm just saying that it can be more convenient to have the beads on the same strand instead of beads with beads. I don't think we have standards on the way the beads work together. You will probably find it is easier to require

Re: Nightly Builds unavailable at some point

2016-11-29 Thread Alex Harui
OK, looks like it is up and running again. On 11/29/16, 10:14 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >ok Alex,thanks! > >2016-11-29 18:59 GMT+01:00 Alex Harui : > >> Looks like it has to copy a 127GB file! We are averaging 10MB/s. >> >> Then I have to do more fiddling a

[Flex] SocketException: Operation not permitted for MacOS

2016-11-29 Thread dhwanishah85
Hi, I have been working on a flex application which uses ServerSocket and it supposed to open a socket connection which java plugin should listen and client-server should be able to communicate with each other. Whole process is working for me when I try running it locally from Flash Builder. We u

[FlexJS] index html template vars

2016-11-29 Thread 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 like ${body} or ${head} thanks -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinata

Re: [FlexJS] Accesing parent

2016-11-29 Thread Carlos Rovira
In UIHTMLElementWrapper: public function get parent():IParent { COMPILE::JS { var p:WrappedHTMLElement = this.positioner.parentNode as WrappedHTMLElement; } this.positioner is undefined, so I think that's a bug right? 2016-11-29 20:37 GMT

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
Ok I read your post couple of times and look into the code of some Views. Do you mean that maybe MaterialIcons should be the beads which will be searched by views ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in cont

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
Alex, Saying "However, it is also reasonable for the MaterialIcon bead to be on the same strand as the DeletableChip bead." you mean I will have Additionally DeletableChip will implement some interface which will be some sign that I should attach there / - Icon ? Pio

[FlexJS] Accesing parent

2016-11-29 Thread Carlos Rovira
Hi, I'm trying to see what component is the parent of the current component in createElement mehtod of a ContainerBase What's the wat to check this? I'm trying something like if (parent is SomeComponent) { } but I'm getting browser error. Can't find examples in source code or in example

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Alex Harui
A IBead can also be an Istrand. You just have to add the code to allow it. However, it is also reasonable for the MaterialIcon bead to be on the same strand as the DeletableChip bead. The MaterialIcon bead just has to find the other bead. It could presume it is the View bead, or it could call g

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Carlos Rovira
I never try to decorate a bead with other bead, but seems it's possible for what I was talking with Alex about Lists. And the order of beads is important. 2016-11-29 20:04 GMT+01:00 piotrz : > Exactly! > > Look what we have now in the examples [1]. In theor Bead "MaterialIcons" > have to decorat

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
Exactly! Look what we have now in the examples [1]. In theor Bead "MaterialIcons" have to decorate "DeletableChip" bead which contains this Button. So it is still question can we decorate Bead by other Bead ? Need to try. :) [1] https://paste.apache.org/TgGM Piotr - Apache Flex PMC piot

Re: Nightly Builds unavailable at some point

2016-11-29 Thread Carlos Rovira
ok Alex,thanks! 2016-11-29 18:59 GMT+01:00 Alex Harui : > Looks like it has to copy a 127GB file! We are averaging 10MB/s. > > Then I have to do more fiddling after that. > > -Alex > > On 11/29/16, 9:42 AM, "Alex Harui" wrote: > > >No idea how long it will take. I've been given a set of steps

Re: git commit: [flex-asjs] [refs/heads/develop] - FLEX-35187 - explicitly set default border to none, so viewports can ignore non-existent borders.

2016-11-29 Thread Alex Harui
Is https://issues.apache.org/jira/browse/FLEX-35188 a duplicate? Or is there some subtle difference I'm not seeing. -Alex On 11/29/16, 9:43 AM, "Yishay Weiss" wrote: >I ended up taking a different approach because changing the default >border style exposed a different bug in FlexJS [1] > >[1]

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Carlos Rovira
To ensure we are talking about the same...you're commenting about this sample and the omg tag inside? and how to proceed with src? right? Deletable Contact Chip cancel 2016-11-29 17:41 GMT+01:00 piotrz : > I like idea, but in case of Chips where I've created DeletableChip bead

Re: Nightly Builds unavailable at some point

2016-11-29 Thread Alex Harui
Looks like it has to copy a 127GB file! We are averaging 10MB/s. Then I have to do more fiddling after that. -Alex On 11/29/16, 9:42 AM, "Alex Harui" wrote: >No idea how long it will take. I've been given a set of steps that >involve copying the VM image to a new data center. >I just hope no

RE: git commit: [flex-asjs] [refs/heads/develop] - FLEX-35187 - explicitly set default border to none, so viewports can ignore non-existent borders.

2016-11-29 Thread Yishay Weiss
I ended up taking a different approach because changing the default border style exposed a different bug in FlexJS [1] [1] https://issues.apache.org/jira/browse/FLEX-35189 From: Yishay Weiss Sent: Tuesday, November 29, 2016 8:53 AM To: dev@flex.apache.org

Re: Nightly Builds unavailable at some point

2016-11-29 Thread Alex Harui
No idea how long it will take. I've been given a set of steps that involve copying the VM image to a new data center. I just hope nothing goes completely wrong... -Alex On 11/29/16, 9:38 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >ok alex, so you have the new machine set u

Re: Nightly Builds unavailable at some point

2016-11-29 Thread Carlos Rovira
ops, sorry for the noise, I think I sent a draft of the last email :? El 29 de noviembre de 2016, 18:40, Carlos Rovira < carlos.rov...@codeoscopic.com> escribió: > ok alex, so you have the new machine set up? > how much time you estimate > > 2016-11-29 18:36 GMT+01:00 Alex Harui : > >> I'm going

Re: Nightly Builds unavailable at some point

2016-11-29 Thread Carlos Rovira
ok alex, so you have the new machine set up? how much time you estimate 2016-11-29 18:36 GMT+01:00 Alex Harui : > I'm going to take down the apacheflexbuilds CI server and see if I can > move it to a new faster machine. > > Pardon the interruption... > -Alex > > On 11/21/16, 10:39 PM, "Alex Harui

Re: Nightly Builds unavailable at some point

2016-11-29 Thread Carlos Rovira
ok alex, so you have the new machine set up? how much time you estimate will take this change thanks! 2016-11-29 18:36 GMT+01:00 Alex Harui : > I'm going to take down the apacheflexbuilds CI server and see if I can > move it to a new faster machine. > > Pardon the interruption... > -Alex > > On

Re: Nightly Builds unavailable at some point

2016-11-29 Thread Alex Harui
I'm going to take down the apacheflexbuilds CI server and see if I can move it to a new faster machine. Pardon the interruption... -Alex On 11/21/16, 10:39 PM, "Alex Harui" wrote: >Hi, > >I'm hoping to move the apacheflexbuilds CI server to a faster machine this >week. Apparently it involves d

Re: Subclassing js:List

2016-11-29 Thread Alex Harui
On 11/29/16, 8:59 AM, "Harbs" wrote: >ContainerBase already implements IMXMLDocument. > >That’s why I was assuming that any non-trivial components should do the >same. Right, I meant that probably ContainerBase shouldn't implement IMXMLDocument and we should have an MXMLContainerBase instead t

Re: Subclassing js:List

2016-11-29 Thread Harbs
ContainerBase already implements IMXMLDocument. That’s why I was assuming that any non-trivial components should do the same. On Nov 29, 2016, at 6:21 PM, Alex Harui wrote: > We might want to do the same for Container.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
I like idea, but in case of Chips where I've created DeletableChip bead I need to decorate by material icons component inside. Can I actually decorate Bead by other Bead? :) That's tricky :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apach

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Carlos Rovira
Yes, I think the bead will decorate a component and adds a tag inside with text where text will be a property on the component what do you think? 2016-11-29 16:36 GMT+01:00 piotrz : > Carlos, > > You mean that "MaterialIcons" will be a bead which generates "i" with > choosen icon by some propert

Re: Subclassing js:List

2016-11-29 Thread Alex Harui
On 11/29/16, 6:52 AM, "Harbs" wrote: >I just tried making an mxml component based off js:List in FlexJS and it >doesn’t seem to work. > >I get an error when the js code tries to execute: > >I searched the asjs files for this function and it looks like only >components which implement IMXMLDocum

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

2016-11-29 Thread Alex Harui
On 11/29/16, 1:13 AM, "Pan Li" wrote: > > >Alex thanks for your help, I can get the databinding samples in SDK >working >now >the problem was is broken in 0.8. Our samples were >using >it. I had removed fx:Declarations and it works as well. Can you provide more details on what is broken? Doe

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
Carlos, You mean that "MaterialIcons" will be a bead which generates "i" with choosen icon by some property in this bead? Am I understand you correctly? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.co

Subclassing js:List

2016-11-29 Thread Harbs
I just tried making an mxml component based off js:List in FlexJS and it doesn’t seem to work. I get an error when the js code tries to execute: this.generateMXMLAttributes ([0, 0, 1, 'initComplete', this.$EH0 ]); TypeError: undefined is not a function I searched the asjs files for this fun

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Carlos Rovira
For example in buttons you can see: face I think this should be refactored since Button is the only component allowing direct inner html Maybe we could make a "MaterialIcons" class that generates this tag. If we follow our plan of making it all "compiler-safe" we cou

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

2016-11-29 Thread Pan Li
Alex thanks for your help, I can get the databinding samples in SDK working now the problem was is broken in 0.8. Our samples were using it. I had removed fx:Declarations and it works as well. Thank you Pan Li My Apache Flex community contribution is working on the open source Moonshine-IDE.c