Re: [FlexJS] Working on a MDL branch

2016-10-17 Thread Alex Harui
On 10/17/16, 2:46 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >btw, what means the attribute lookupOnly="true" in component tag in the >manifest xml? It means to add the class to the list of classes mapped

Re: [FlexJS] Working on a MDL branch

2016-10-17 Thread Carlos Rovira
btw, what means the attribute lookupOnly="true" in component tag in the manifest xml? 2016-10-17 8:40 GMT+02:00 Carlos Rovira : > Thanks Alex, > > As I copied from Flat I remember that the use of html button (and other > comps confused me, and I thought it should

Re: [FlexJS] Working on a MDL branch

2016-10-17 Thread Carlos Rovira
Thanks Alex, As I copied from Flat I remember that the use of html button (and other comps confused me, and I thought it should name my button. Now I connect points and understand that Button is not implemented in Flat and only is stylized via CSS. I'll check it and hopefully could progress from

Re: [FlexJS] Working on a MDL branch

2016-10-16 Thread Alex Harui
I forgot to explain how I debugged this: I ran the app in the browser (I use Safari). I examine the DOM tree. I clicked on the Button that wasn't behaving. I viewed the Node properties. One of the properties is flexjs_wrapper. I expand it, then its __proto__ then its FLEXJS_CLASS_INFO property.

Re: [FlexJS] Working on a MDL branch

2016-10-16 Thread Alex Harui
OK, looked into it. The mdl-manifest.xml was still pointing to the HTML.SWC's Button. I pushed changes and I get a pink circle as expected. HTH, -Alex On 10/16/16, 9:09 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"

Re: [FlexJS] Working on a MDL branch

2016-10-16 Thread Carlos Rovira
Hi Alex, just mention I rebase my mdl branch to set on top of develop and make it more organized. C. 2016-10-16 16:00 GMT+02:00 Alex Harui : > > > On 10/16/16, 2:35 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" >

Re: [FlexJS] Working on a MDL branch

2016-10-16 Thread Alex Harui
On 10/16/16, 2:35 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >but my mdl button extends UIBase and not UIButtonBase (maybe it should be >the last...) Oh yeah, forgot that the JS side has different

Re: [FlexJS] Working on a MDL branch

2016-10-16 Thread Carlos Rovira
Hi Alex, thanks! for the inline problem, I cherry pick your commit in mdl branch and add the code you suggested to the mdl example project, test it and it's working, and showing the plus icon inside :) A side of the success, maybe this should work with plain js:Button, since this is really a

Re: [FlexJS] Working on a MDL branch

2016-10-16 Thread Alex Harui
Also, I'm out of time for tonight, but I took a quick look and found that UIButtonBase.as doesn't have the same className setter as UIBase.as. I'll bet if you copy the UIBase setter to UIButtonBase your other problem will go away. HTH, -Alex On 10/15/16, 11:45 PM, "Alex Harui"

Re: [FlexJS] Working on a MDL branch

2016-10-16 Thread Alex Harui
Well, that took longer than I hoped. I also have limited time this weekend. Anyway, I think I got the following pattern to work: add Note that I'm using TextButton as it has 'text' and 'html' properties. The Button class doesn't (currently) have those properties as it is used primarily

Re: [FlexJS] Working on a MDL branch

2016-10-15 Thread Carlos Rovira
his magic for "feature/*"? (This > question is aimed at all) > > > Chris > > > Von: carlos.rov...@gmail.com <carlos.rov...@gmail.com> im Auftrag von > Carlos Rovira <carlos.rov...@codeoscopic.com> > Gesendet: Freitag,

Re: [FlexJS] Working on a MDL branch

2016-10-15 Thread Carlos Rovira
Thanks Alex, I'll be the next hours off, but if you get something I'll be looking it this weekend. Many thanks for your time! 2016-10-15 8:07 GMT+02:00 Alex Harui : > > > On 10/14/16, 2:07 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" >

Re: [FlexJS] Working on a MDL branch

2016-10-15 Thread Alex Harui
On 10/14/16, 2:07 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >just committed the MDLExample project in examples folder with minimal >code, >just a js:Button with styles that works and a

Re: [FlexJS] Working on a MDL branch

2016-10-14 Thread Carlos Rovira
Hi Alex, just committed the MDLExample project in examples folder with minimal code, just a js:Button with styles that works and a mdl:Button that should have that styles and doesn't work. I configure to build with maven, but not ant. thanks Carlos 2016-10-14 22:27 GMT+02:00 Alex Harui

Re: [FlexJS] Working on a MDL branch

2016-10-14 Thread Alex Harui
If you want to make an example in flex-asjs repo in examples/flexjs that would be helpful. -Alex On 10/14/16, 11:54 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Ok, just pushed to branch /feature/mdl > >my

Re: [FlexJS] Working on a MDL branch

2016-10-14 Thread Carlos Rovira
Ok, just pushed to branch /feature/mdl my example project is out the examples. Do you think I should create an examples/mdlexample project and upload it to the branch as well? Thanks 2016-10-14 20:42 GMT+02:00 Carlos Rovira : > Hi Alex, > > I tried the both add

Re: [FlexJS] Working on a MDL branch

2016-10-14 Thread Carlos Rovira
Hi Alex, I tried the both add and add but didn't worked. I'll be uploading the branch, since I'm equally worried about the low level code not working Thanks! 2016-10-14 20:19 GMT+02:00 Alex Harui : > > > On 10/14/16, 10:25 AM, "carlos.rov...@gmail.com on

Re: [FlexJS] Working on a MDL branch

2016-10-14 Thread Carlos Rovira
Hi Om, just did what you propose and still shows the same: 1.- copy the class org.apache.flexjs.mdl to my test project 2.- removed old code 3.- instantiate using: xmlns:mdl="org.apache.flex.mdl.*" and but again the result is better using the js:Button with className than my low level MDL

Re: [FlexJS] Working on a MDL branch

2016-10-14 Thread Alex Harui
On 10/14/16, 10:25 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >I'm trying to setup a MDL library to start making some components with >that >look and feel. >I'm following the Flat library project

Re: [FlexJS] Working on a MDL branch

2016-10-14 Thread OmPrakash Muppirala
On Fri, Oct 14, 2016 at 10:25 AM, Carlos Rovira wrote: > Hi, > > I'm trying to setup a MDL library to start making some components with that > look and feel. > I'm following the Flat library project indications, and right now I'm > building it ok with maven (didn't test