Re: [FlexJS] Popup

2017-01-20 Thread sankar
Now when I able to run the MDLExample project through Moonshine IDE with additional compiler arguments those were requires, I saw the wrapper HTML now taking it's template content from mdl-js-index-template.html file. But yet, it is not rendering expectedly, styles were broken. When I tried to

Re: [FlexJS] Popup

2017-01-20 Thread sankar
Hi Carlos, I manually edit/add the following lines in mdl-js-index-template.html file to make the example work running from an IDE. Maybe Ant build file adds those lines at runtime, but I didn't have newly added lines in template file: /Edited/

Re: [FlexJS] Text For the Tour

2017-01-20 Thread piotrz
Alex, I'll start work from adding Maven pom to build.:) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Text-For-the-Tour-tp58508p58526.html Sent from the Apache Flex Development mailing list

Re: [FlexJS] Text For the Tour

2017-01-20 Thread Peter Ent
This sounds good. We will need to run a build at the top-level in flex-tourjs so that it builds all of the examples which have the same structure. —peter On 1/20/17, 9:17 AM, "piotrz" wrote: >Thanks Peter for concept. > >Let's say that I have this structure for

Re: [FlexJS] MDL Dialog working cross browser

2017-01-20 Thread Carlos Rovira
Hi Alex, I modified as you said: /** * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement * @flexjsignorecoercion HTMLDialogElement */ COMPILE::JS override protected function createElement():WrappedHTMLElement { typeNames =

Re: [FlexJS] Support for CSS calc() function

2017-01-20 Thread Carlos Rovira
Hi Alex, regarding this bug, just want to left it to you. As I commented in other email I want to concentrate in other efforts (for example I'll try to make a set design and see what I get) so for the moment I'll be not doing compiler work. I left in the repos a branch with the jira issue label.

Re: [FlexJS] MDL Dialog working cross browser

2017-01-20 Thread Alex Harui
OK, I think I get it. The code "if (!dialog.showModal)" is a test for a dynamic property being added, but when dialog is declared as HTMLDialogElement, it assumes the object has a showModal method. IMO, it is a bug that dialog.showModal in an if condition outputs a call to Language.closure, but

Re: [FlexJS] MDL Dialog working cross browser

2017-01-20 Thread Carlos Rovira
Ok Alex, I change to your proposal and is working ok I think we can close here. As a bonus, if you finaly work on allow resources in SWC let me know to change the dialogPolyfill from be injected from a CDN to hosted in the MDL SWC Thanks! Carlos 2017-01-21 0:21 GMT+01:00 Alex Harui

Re: [FlexJS] MDL Dialog working cross browser

2017-01-20 Thread Carlos Rovira
I send too quickly. I want to ask you if the sentence *f (!dialog.showModal) {* not working could be considered a bug, or maybe here the brackets notation is correct btw, I think that without count this issue, all is right now :) 2017-01-20 23:55 GMT+01:00 Carlos Rovira

Re: [FlexJS] MDL Dialog working cross browser

2017-01-20 Thread Carlos Rovira
Hi Alex in the code below you can see that at the end dialog.showModal() works now (as well dialog.close()) but *if (!dialog.showModal) {* not works. to make it works I change to : if (!dialog["showModal"]) { org.apache.flex.mdl.Dialog.prototype.showModal = function() { if

Re: [FlexJS] MDL Dialog working cross browser

2017-01-20 Thread Alex Harui
The link appears to show a stack trace. What is the Dialog.js code around those line numbers? -Alex On 1/20/17, 12:09 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >I modified as you said: > >/**

[4.16.0] # Apache Flex SDK 4.16.0 nightly build 209: Successful

2017-01-20 Thread flex . ci . builds
flex-sdk_release-candidate - Build #209 - Successful Changes since last build: No changes For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/209/.

[FlexJS] Problem with building Tour de FlexJS by Maven

2017-01-20 Thread piotrz
Hi Guys, I've spent to much time on this, so I would like to ask for help. I've created following pom[1] for TourJS project and getting error that something is wrong in org.apache.flex.flexjs.framework flexjs-framework-parent 0.8.0-SNAPSHOT

Re: [FlexJS] Text For the Tour

2017-01-20 Thread Peter Ent
Thanks, Piotr. I'm planning on structuring flex-tourjs like this: flex-tourjs/ TourJS/ ‹ this is the source to the Tour de FlexJS project examples/ visualComponents/ generalComponents/ alert/ bin/ ‹ the js-debug and js-release output

Re: [FlexJS] Popup

2017-01-20 Thread sankar
Hi Carlos, Yes, I've seen those style reference in pom.xml file. I was in need to run the project in an IDE, I made the modification in the template html file. Regarding the dialog polyfill style class insertion, I tried to omit those two style reference from the template file and run, that

Re: [FlexJS] Popup

2017-01-20 Thread Carlos Rovira
Hi Sankar, for the first link notice the following lines in pom.xml in MDLExample indigo pink maven use this properties to configure this other one https://code.getmdl.io/1.3.0/material.${primary}-${accent}.min.css;> So you can change that properties to change the MDL colors

Re: [FlexJS] MDL Dialog working cross browser

2017-01-20 Thread Carlos Rovira
Hi Alex 2017-01-20 1:25 GMT+01:00 Alex Harui : > > > Are you sure you have to do this? Of Course no If I can solve :) > IMO, if the typedefs have an > HTMLDialogElement with a "show" method, the compiler should let you call > dialog.show(). If dialog["show"] works in

Re: [FlexJS] Popup

2017-01-20 Thread Carlos Rovira
Hi Sankar, the excluded-defaut-css-files is setup cause be need to get rid of all the default styles we get from HTML.swc so we don't carry anything I think there's no more tricks that what is commented in this thread 2017-01-20 11:53 GMT+01:00 sankar : > piotrz wrote

Re: [FlexJS] Problem with building Tour de FlexJS by Maven

2017-01-20 Thread Christofer Dutz
In the case of the tour-de-flexjs I would suggest to put the apache parent in there … have a look at the root of the other three repos. This will not bring in any functionality for FlexJS, but for being able to release. Chris Am 20.01.17, 16:55 schrieb "piotrz" :

Re: [FlexJS] Text For the Tour

2017-01-20 Thread piotrz
Thanks Peter for concept. Let's say that I have this structure for "alert": alert/ bin/ ‹ the js-debug and js-release output bin-debug/ ‹ the SWF output src/ ‹ the usual maven-compatible FlexJS source project I will be maven oriented in this one, so in order to build this alert example I

Re: [FlexJS] using @extern with dialogPolyfill

2017-01-20 Thread Carlos Rovira
Hi Alex 2017-01-20 1:21 GMT+01:00 Alex Harui : > Make sure it got converted to AS files. Look in the > target/generated-sources/externc for the .as files. I tried again to insert the lines in missing.js and made a multi search for "dialogPolyfill" but didn't found nothing

Re: [FlexJS] using @extern with dialogPolyfill

2017-01-20 Thread Carlos Rovira
Hi Chris, since I'll be using the polyfill in MDL swc I think is where I should right? or I should look into MDLExample pom as well? btw, If the dilaogPolyfill is in typedefs located in js project and inside the missing.js file what typedef should I reference? In MDL swc I have following

Re: XML files not copying

2017-01-20 Thread Alex Harui
On 1/20/17, 2:41 AM, "Harbs" wrote: >Any comments on this? Sorry, I assumed it was some VSCode issue so I never clicked on the link. I will take a look. -Alex

Re: [FlexJS] using @extern with dialogPolyfill

2017-01-20 Thread Alex Harui
On 1/20/17, 8:27 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex > >2017-01-20 1:21 GMT+01:00 Alex Harui : > >> Make sure it got converted to AS files. Look in the >>

Re: [FlexJS] MDL Dialog working cross browser

2017-01-20 Thread Alex Harui
On 1/20/17, 9:47 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >sorry in > >http://caniuse.com/#feat=dialog > >Safari 10 is in red and so "not >supported" > >And for that reason we

Re: [FlexJS] MDL Dialog working cross browser

2017-01-20 Thread Carlos Rovira
sorry in http://caniuse.com/#feat=dialog Safari 10 is in red and so "not supported" And for that reason we are forced to use brackets notation and HTMLElement right? 2017-01-20 18:45 GMT+01:00 Carlos Rovira : > Hi Alex > > 2017-01-20

Re: XML files not copying

2017-01-20 Thread Alex Harui
Works for me. What console output do you get? On 1/20/17, 8:53 AM, "Alex Harui" wrote: > > >On 1/20/17, 2:41 AM, "Harbs" wrote: > >>Any comments on this? > >Sorry, I assumed it was some VSCode issue so I never clicked on the link. >I will take a look.

Re: [FlexJS] Popup

2017-01-20 Thread piotrz
Santanau, Are you using Flash Builder with command line compilation ? You need to add -compiler.exclude-defaults-css-files=HTML.swc:defaults.css -html-template=${basedir}/src/main/resources/mdl-js-index-template.html Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message

Re: [FlexJS] Popup

2017-01-20 Thread sankar
piotrz wrote > In order to use MDL you have to use default template which contains links > to the JS code of MDL. This default template along with default css style > you can find in your downloaded FlexJS SDK folder: > "examples\flexjs\MDLExample\src\main\resources\". Hi Piotr, I'm already

Re: [FlexJS] Popup

2017-01-20 Thread piotrz
You also need to use "mdl-js-index-template.html" as an template. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Popup-tp58435p58516.html Sent from the Apache Flex Development mailing list

Re: [FlexJS] Popup

2017-01-20 Thread sankar
piotrz wrote > Are you using Flash Builder with command line compilation ? You need to > add > > -compiler.exclude-defaults-css-files=HTML.swc:defaults.css > -html-template=${basedir}/src/main/resources/mdl-js-index-template.html Piotr, After your last comment to check build/pom.xml I noticed

Re: [FlexJS] Popup

2017-01-20 Thread piotrz
Hi Santanau, In order to use MDL you have to use default template which contains links to the JS code of MDL. This default template along with default css style you can find in your downloaded FlexJS SDK folder: "examples\flexjs\MDLExample\src\main\resources\". Example of files for building you

Re: [FlexJS] Popup

2017-01-20 Thread sankar
piotrz wrote > Are you using Flash Builder with command line compilation ? You need to > add > > -compiler.exclude-defaults-css-files=HTML.swc:defaults.css > -html-template=${basedir}/src/main/resources/mdl-js-index-template.html Piotr, After your previous comment to look into build.xml/pom.xml

Re: [FlexJS] Text For the Tour

2017-01-20 Thread piotrz
Hi Alex, I will definitely help with TourDeFlexJS, I'm waiting for this first version. I wanted to put there MDL example. Maybe it is not bad idea having text in pure HTML, a bit painful, but always it will be opportunity to write new tutorials from scratch - instead display those from wiki.

Re: [FlexJS] using @extern with dialogPolyfill

2017-01-20 Thread Christofer Dutz
If your class is in a typedef module, be sure to reference it as a typedef in maven. While a normal swc is imported by: org.apache.flex.flexjs.framework Core 0.8.0-SNAPSHOT swc For example, a typedef needs a classifier such as:

Re: XML files not copying

2017-01-20 Thread Harbs
Any comments on this? Harbs > On Jan 18, 2017, at 9:55 PM, Harbs wrote: > > Please see this discussion on Github.[1] > > The thing is, it seems to work with my ant build, but I’m not sure why. > > I can post my ant script, but it’s really mostly just copied from the >