Re: [FlexJS] MDL Help Needed

2017-04-04 Thread Peter Ent
Much, much more of the MDLExample is now working the changes to Tabs and TabBar. - In the MDLDynamicTabsExample, the tabs appear and can be selected, but when a new tab is added, the information about what tab was previously selected is lost. - In the MDLExample, Tabs selection, the first tab bar

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread Peter Ent
Thanks. I didn't see that. I will work on that next. ‹peter On 4/3/17, 4:38 PM, "piotrz" wrote: >Peter, > >There is such app in the example: MDLDynamicTabsExample :) > >Try it out - it also do not display Tabs. > >Piotr > > > >- >Apache Flex PMC >piotrzarzyck...@gmail.com >-- >View this mes

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread piotrz
Peter, There is such app in the example: MDLDynamicTabsExample :) Try it out - it also do not display Tabs. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Help-Needed-tp60946p60986.html Se

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread Peter Ent
Hi, I think I need your help again. I noticed that when I tap on something I'm taken to getmdl.io. Could you put another sample together that uses Tabs? That should help make it go faster. Thanks. Peter On 4/3/17, 11:28 AM, "piotrz" wrote: >Peter, > >I think falcon on your branch is synced, cau

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread Peter Ent
I guess I forgot what the example actually looked like - so much stuff appeared when I ran it! I will look into Tabs, and you are probably right, it would extend List if it were a list. ‹peter On 4/3/17, 11:28 AM, "piotrz" wrote: >Peter, > >I think falcon on your branch is synced, cause I did i

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread piotrz
Peter, I think falcon on your branch is synced, cause I did it. Did you check whether MDLExample is running, cause yesterday when I was checking - I did run MDLExample but Tabs component did not display any Tab. It look like to me that Tabs should extend List, but I thought that you will handle

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread Peter Ent
Hi, I now have the MDLExample running. I've committed and pushed my changes onto feature/chart-work. I have not sync'd with flex-falcon in a while - so I don't know if that makes a difference. I am hoping that any issues now are related to SWF-side layout code. Going forward, if your component n

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Peter Ent
Yes. I hope to resolve this quickly. What I did was move the MXML support from the GroupBase/ViewBase/ContainerBase classes into the Group/View/Container classes. I did this so that there was an easy inheritance chain: ChartBase->ListBase->DataContainerBase->ContainerBase->GroupBase with each of t

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Harbs
Our MDL is not working because it does not support MXML. My understanding is that Peter is working on that, though. Harbs > On Apr 2, 2017, at 3:05 PM, piotrz wrote: > > Peter, > > My simple example is working for me. I was looking into the MDL library but > it look there are also work with o

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread piotrz
Peter, My simple example is working for me. I was looking into the MDL library but it look there are also work with other components which are based on List. If you are looking into that just let me know if you find some stoppers. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread piotrz
Hi Peter, I just tried MDLExample and see where the problem is. In UIBase method getElementAt should return null in case of JS. var children:Array = internalChildren(); return children[index].flexjs_wrapper; When there is no children in code above flexjs_wrapper is undefined.

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Peter Ent
I've pushed changes to HTML and MDL libraries in the feature/chart-work branch. In order to get the small example you made to work, I had to change MDL's List. Actually, I simplified it a great deal so that is 90% the HTML List with just a few changes now. The main MDLExample still isn't running,

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread piotrz
Hi Peter, I was thinking that would be a solution, but I prefered to leave fix for you cause I wasn't sure. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Help-Needed-tp60946p60965.

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Peter Ent
HI, I haven't got MDL working completely, but I found the cause of the problem. The Span class is extending ContainerBase. That won't work now because ContainerBase no longer supports MXML children - I moved that into Container (and Group and View). I also don't think you need Container for HTML

Re: [FlexJS] MDL Help Needed

2017-04-01 Thread Peter Ent
Thanks. I will try this as soon as I can. Peter > On Apr 1, 2017, at 1:54 PM, piotrz wrote: > > Peter, > > I got it! :) After 3 hours of fight I was able to expose problem. I've > prepared simple application where you can reproduce it [1]. > > In general for some reason compiler is not ge

Re: [FlexJS] MDL Help Needed

2017-04-01 Thread piotrz
Peter, I got it! :) After 3 hours of fight I was able to expose problem. I've prepared simple application where you can reproduce it [1]. In general for some reason compiler is not generating second span: - this span will be missing in HTML. If you launch even simpler application than m

Re: [FlexJS] MDL Help Needed

2017-03-31 Thread Peter Ent
Thanks so much. I'm pretty sure it will be an easy fix, depending on how MDL thinks of things, container-wise. ‹peter On 3/31/17, 4:51 PM, "piotrz" wrote: >Hi Peter, > >I will try to expose bug in simpler example over the weekend. I will let >you >know. > >Piotr > > > >- >Apache Flex PMC >p

Re: [FlexJS] MDL Help Needed

2017-03-31 Thread piotrz
Hi Peter, I will try to expose bug in simpler example over the weekend. I will let you know. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Help-Needed-tp60946p60947.html Sent from the Apac