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

2016-12-05 Thread Christofer Dutz
Hi Guys, well in general „Yes“ the order in which things are done in Maven is: - Generate Resources - Process Resources - Compile Unfortunately the falcon compiler also does some sort of generate and process within the compile phase. It would be great if we could split this up so we could have

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-12-05 Thread Christofer Dutz
Hi Alex, sorry for not responding on that last email ☹... must have missed that one ☹ For the general functionality of the flex-tool-groups, I simply use the basic Java service registry functionality. This allows to lookup a list of instances with a symbolic name. You can add more implementatio

Re: [LAST CALL] Flex SDK 4.16

2016-12-05 Thread Justin Mclean
Hi, > I had a similar issue when I tried to set up. Looks like the individual > files are not downloadable from google code anymore. Any luck sorting this out? If not giving it’s delaying the release at this point I suggest we should release without it. Thinks, Justin

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

2016-12-05 Thread Carlos Rovira
We should think if compiler should make the task of process the html...maybe this is a task for build systems (maven, ant,...) Since there's much to do, maybe we could left this issue for later since right now the problem is solved... 2016-12-05 9:26 GMT+01:00 Christofer Dutz : > Hi Guys, > > wel

Re: [FlexJS]Big XML files

2016-12-05 Thread Harbs
There’s likely some problem with the XML class which can be addressed, but I just added a JXON class which works very well for lightweight XML parsing. It solved my current issue… On Dec 5, 2016, at 12:41 AM, Harbs wrote: > I just tried parsing a big XML file with about 5600 elements. I brough

Why there are same files exists in multiple places?

2016-12-05 Thread sankar
I noticed there are files which exists multiple time with almost no changes. i.e. DataItemRenderer. This file exists multiple time in source folders: 1. https://github.com/apache/flex-asjs/blob/develop/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/DataItemRenderer.as

Re: Why there are same files exists in multiple places?

2016-12-05 Thread Carlos Rovira
Hi Sankar 1. Why the 'Basic' and 'HTML' folders when holding almost same files? > Basic is a deprecated project. When Alex and Harbs made the sprite refactor it was disconnected from build. I think Alex is working on it and he said rest of us could operate with Core, HTML and the rest of projects

[FlexJS] Conditional compilation in user projects

2016-12-05 Thread Carlos Rovira
Hi Alex, to introduce the problem: I took a look and saw that your ListItemRenderer is in the application > project, not a library project, but it contains conditional compile code. > I'm not sure we've ironed out that workflow. The main idea was that > application developers wouldn't need condi

Re: git commit: [flex-asjs] [refs/heads/develop] - Add ContactChip bead - not working - Throw error if deletable chip do not have any material icons bead

2016-12-05 Thread Carlos Rovira
Hi Piortr I just downloaded your changes and seems ContactChip is working in the example and you solved your problem. If not, please tell me thanks 2016-12-04 15:43 GMT+01:00 Piotr Zarzycki : > Hi Carlos, > > I've added ContactChip, but for some reason it won't work in Example. > Basically "s

Re: [FlexJS, MDL] Color and Image in ContactChip bead

2016-12-05 Thread Carlos Rovira
> 1) Colors in Contact Chip > > ContactChip in MDL example has classes which gives color for text and > background for contact part. > > "mdl-color--teal" and "mdl-color-text--white" > > How actually it should be implemented ? I should add some properties ? > > contactColorName = "white", contactTe

RE: [FlexJS] Conditional compilation in user projects

2016-12-05 Thread Yishay Weiss
In our project we started out with conditional compilation but we decided we didn't really need it. I think part of the appeal of FlexJS is that it's AS3/MXML only. If application devs start mixing it up with JS, their projects will probably start suffer from typical JS project maladies. Keepin

RE: [FlexJS] Conditional compilation in user projects

2016-12-05 Thread Yishay Weiss
Links should be [1] https://paste.apache.org/SQ8J [2] https://paste.apache.org/isny From: Yishay Weiss Sent: Monday, December 5, 2016 2:38 PM To: dev@flex.apache.org Subject: RE: [FlexJS] Conditional compilation in user projects I

Re: [FlexJS] dialog-polypfill third party JS

2016-12-05 Thread Harbs
On Dec 5, 2016, at 9:58 AM, Alex Harui wrote: > > > On 12/4/16, 11:38 PM, "Harbs" wrote: > >> If this is code in the SDK, changing the URL in the generated HTML is >> painful. > > I have not tried monkey-patching. Does it not work? I’m not sure what you mean by monkey patching. (in this c

[FlexJS] !important; in CSS

2016-12-05 Thread Harbs
Trying to add !important; into CSS blocks in FlexJS results in a compiler error. Is there already a bug reported for this? Harbs

Re: [FlexJS] !important; in CSS

2016-12-05 Thread Harbs
Scratch that. PEBKAC… On Dec 5, 2016, at 4:11 PM, Harbs wrote: > Trying to add !important; into CSS blocks in FlexJS results in a compiler > error. > > Is there already a bug reported for this? > > Harbs

Re: [FlexJS] Team Page

2016-12-05 Thread Peter Ent
I will put it onto my task list for this week. ‹peter On 12/2/16, 4:56 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >@Peter So cool to see that online! great! :) > >@Om, MDL Card component (and sub comps are ready to use, so I encourage >you >to use it and report your experien

Re: Why there are same files exists in multiple places?

2016-12-05 Thread Peter Ent
Maybe we should have HTML just be the , , etc. components that were recently introduced. Have HTML5 product be additional HTML5-specific components, and leave Basic to be the original set. This way you would layer as needed: if you wanted a static-ish HTML page that had dynamics created with Actio

Re: [FlexJS] Team Page

2016-12-05 Thread Peter Ent
That's a good point. I also want to make them use images and not words, so that's on the to-do list as well. ‹peter On 12/4/16, 3:24 AM, "Harbs" wrote: >One issue I have with the page is that all links are not simple hrefs. >You cannot see where it¹s going to go by hovering over the element. >

Re: [FlexJS] dialog-polypfill third party JS

2016-12-05 Thread Alex Harui
On 12/5/16, 12:34 AM, "Harbs" wrote: > >On Dec 5, 2016, at 9:58 AM, Alex Harui wrote: > >> >> >> On 12/4/16, 11:38 PM, "Harbs" wrote: >> >>> If this is code in the SDK, changing the URL in the generated HTML is >>> painful. >> >> I have not tried monkey-patching. Does it not work? > >I’m

Re: Why there are same files exists in multiple places?

2016-12-05 Thread sankar
Carlos Rovira-3 wrote > Hi Sankar > > 1. Why the 'Basic' and 'HTML' folders when holding almost same files? >> > > Basic is a deprecated project. When Alex and Harbs made the sprite > refactor > it was disconnected from build. I think Alex is working on it and he said > rest of us could operate w

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

2016-12-05 Thread Alex Harui
The interesting question here is whether the compiler should somehow help the generation of the html wrapper since the compiler knows some information that the developer would otherwise have to duplicate, such as the width, height, and potentially the title and maybe other properties. These are MXM

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-12-05 Thread Alex Harui
Thanks Chris, that's helpful. Do you have any thoughts on how to manage two different sets of libraries, one for SWF compile, one for JS compile? Thanks, -Alex On 12/5/16, 12:44 AM, "Christofer Dutz" wrote: >Hi Alex, > >sorry for not responding on that last email ☹... must have missed that >on

Re: Why there are same files exists in multiple places?

2016-12-05 Thread Alex Harui
We could just fill HTML and HTML5 with the direct wrappers of elements. Currently we are using more Flex-familiar names like Container and Label. If we can think of a better SWC name for those things that's fine. The point of HTML and Basic was that Harbs was finding it easier to work on his app w

Re: [FlexJS] Conditional compilation in user projects

2016-12-05 Thread Alex Harui
On 12/5/16, 3:39 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >to introduce the problem: > >I took a look and saw that your ListItemRenderer is in the application >> project, not a library project, but it contains conditional compile >>code. >> I'm not sure we've

Re: [LAST CALL] Flex SDK 4.16

2016-12-05 Thread OmPrakash Muppirala
A bit more progress over the weekend. Hopefully will be done this week. Although, you are free to release without the fixes if you feel like. Thanks, Om On Dec 5, 2016 12:46 AM, "Justin Mclean" wrote: > Hi, > > > I had a similar issue when I tried to set up. Looks like the individual > > file

Re: [FlexJS] Slider valueChange not working

2016-12-05 Thread Peter Ent
I just noticed this email. I have started to look into Slider. It was an early component, like ComboBox, and needs a little bit of work to bring it back to life. ‹peter On 12/2/16, 5:49 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >I'd want to bring this again since I think i

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

2016-12-05 Thread Christofer Dutz
Or define the width and height in the build and inject the values as defines? Would reduce it back to one place ☺ Chris Am 05.12.16, 17:05 schrieb "Alex Harui" : The interesting question here is whether the compiler should somehow help the generation of the html wrapper since the compile

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-12-05 Thread Christofer Dutz
Yes I do ... I did a lot of „networking“ with the maven guys in Seville. It seems that I managed to get the point I didn’t seem to manage via emails. Currently I am using different sets of libaries based upon classifiers, but that’s just a temporary hack. I am hoping that I will be able to make

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

2016-12-05 Thread Alex Harui
On 12/5/16, 8:50 AM, "Christofer Dutz" wrote: >Or define the width and height in the build and inject the values as >defines? >Would reduce it back to one place ☺ It would probably still need to be set on the MXML tag. >Chris > >Am 05.12.16, 17:05 schrieb "Alex Harui" : > >The interes

Re: [FlexJS] Team Page

2016-12-05 Thread Peter Ent
I updated the TeamPage code in the flex-asjs/examples/flexjs area to use the component instead of a TextButton. Still have to push it out to the main website, but you can build it and look at it there. —peter On 12/5/16, 10:59 AM, "Peter Ent" wrote: >That's a good point. I also want to make th

[FALCONJX][FLEXJS} SWF Subclass (and other) Overrides

2016-12-05 Thread Alex Harui
Hi, I just pushed changes to allow certain kinds of overrides in SWF that normally aren't possible. The reasoning behind doing this is to allow us to have a library that extends SWF classes like Sprite but hide the flash APIs. For example, in Sprite, the parent property is defined as a flash.dis

Re: [FALCONJX][FLEXJS} SWF Subclass (and other) Overrides

2016-12-05 Thread Harbs
I like. On Dec 5, 2016, at 8:49 PM, Alex Harui wrote: > Hi, > > I just pushed changes to allow certain kinds of overrides in SWF that > normally aren't possible. The reasoning behind doing this is to allow us > to have a library that extends SWF classes like Sprite but hide the flash > APIs. >

Re: Snippets for FlexJS

2016-12-05 Thread Alex Harui
I just pushed a new set of json files. The accessors should now have "return" fields. Looks like default values are supposed to come from @default tags in the ASDoc, which we haven't written yet. I added one to CheckBox just to see if it would work and it does appear in the output. We would need

Re: Snippets for FlexJS

2016-12-05 Thread Harbs
It looks like there’s an error in the JSON. I opened CheckBox.json and I got the following error: parse error: after key and value, inside map, I expect ',' or '}' "values": ["3.0"]} ] "return": "", "params" (right here) ———^ It looks like there’s

Re: Snippets for FlexJS

2016-12-05 Thread Alex Harui
Thanks for checking. I think I have it as valid JSON now and updated the zip. -Alex On 12/5/16, 12:19 PM, "Harbs" wrote: >It looks like there’s an error in the JSON. I opened CheckBox.json and I >got the following error: > >parse error: after key and value, inside map, I expect ',' or '}' >

Re: Snippets for FlexJS

2016-12-05 Thread Harbs
That looks good. I randomly opened some other files and ComboBox has the following error: parse error: invalid object key (must be a string) he.flex.events.Event", }] } (right here) --^ The problem looks like a trailing comma near the end of the file.

Re: Snippets for FlexJS

2016-12-05 Thread Harbs
Accordion.json looks like it has two errors as well: 1. The leading comma here: "members": [ , 2. The trailing comma here: "namespace": "public”, On Dec 6, 2016, at 12:04 AM, Harbs wrote: > That looks good. > > I randomly opened some other files and ComboBox has the following error: > > par

Re: Snippets for FlexJS

2016-12-05 Thread Harbs
Some more: CurrencyFormatter.json has the following: "params": [{ name: "value", type: "Object"} name and type need to be surrounded by quotes. I’m done for the night… ;-) On Dec 6, 2016, at 12:07 AM, Harbs wrote: > Accordion.json looks like it has two errors as well: > 1. The lead

Re: Snippets for FlexJS

2016-12-05 Thread Harbs
One last one: ToolTipBead.json has TWO trailing commas near the end of the file. On Dec 6, 2016, at 12:10 AM, Harbs wrote: > Some more: > > CurrencyFormatter.json has the following: > > "params": [{ name: "value", type: "Object"} > > name and type need to be surrounded by quotes. >

Flex Consulting Work

2016-12-05 Thread Alex Harui
Hi, Every once in a while (but lately, several times a year), Adobe support gets calls from customers who, after some investigation, are probably facing the issue I recently wrote about here [1]. In some cases, the customers don't have the skills required to execute the advice in [1]. So I'm won

Re: [FlexJS, MDL] Color and Image in ContactChip bead

2016-12-05 Thread piotrz
Carlos, Thanks for links - That was very helpful. I've created 2 interfaces IMdlColor and IMdlTextColor - That's representation of component color or component text's color. Last thing which I need to add is image support in ContactChip and Chips components will be ready. :) Piotr - Apach

Re: Snippets for FlexJS

2016-12-05 Thread Alex Harui
Thanks for looking. I think I've fixed these issues and updated the zip. There's probably more, so maybe after I get caught up on compiler bugs I'll write the basis of the AIR app that will display ASDoc which will then read all of these files and find more problems. -Alex On 12/5/16, 2:11 PM, "

Scanned image from mx23...@apache.org

2016-12-05 Thread off...@apache.org
Reply to: off...@apache.org Device Name: mx23...@apache.org Device Model: MX-2310U Location: Reception File Format: PDF MMR(G4) Resolution: 200dpi x 200dpi Attached file is scanned image in PDF format(RAR archive). Use Acrobat(R)Reader(R) or Adobe(R)Reader(R) of Adobe Systems Incorporated to vi

Re: Snippets for FlexJS

2016-12-05 Thread Christian Gotschim
Hi Alex, Thanks for the updated file. After looking over the contents I was surprised how many classes are involved and how easy it is to get lost in all that. In order to get a better overview of all this I would suggest to put all the different JSON files into a single XML file that can then be

Re: Snippets for FlexJS

2016-12-05 Thread Alex Harui
Hi Christian, The JSON files are intended for a future ASDoc app written in FlexJS. I expect small JSON files to perform better than one big file of JSON or XML. It allows for lazy loading of data. Also, the compiler is oriented towards producing lots of small files because each class is being

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

2016-12-05 Thread sankar
Can Peter or anyone from Apache dev suggest where the present development stays for runtime data update to DataGrid component, or even any specific beads way already available, as discussed in earlier comments/queries? I think it's very much essential to me as a Flex developer to have the runtime

Avoiding goog renaming

2016-12-05 Thread Harbs
I created a swc library[1] which relies on some typedefs which I created using ActionScript[2]. This all works well when I debug. However, when I compile a release build, the “cep global” methods are being renamed and when executed, I get “function undefined” errors. I’m not sure what I’m doin

Re: Avoiding goog renaming

2016-12-05 Thread Alex Harui
On 12/5/16, 11:12 PM, "Harbs" wrote: >I created a swc library[1] which relies on some typedefs which I created >using ActionScript[2]. > >This all works well when I debug. However, when I compile a release >build, the “cep global” methods are being renamed and when executed, I >get “function un

[Fix] Uploaded patch to JIRA issue

2016-12-05 Thread sankar
Recently I've found an issue when extending DataItemRenderer as MXML broke the application. Here's the JIRA issue - https://issues.apache.org/jira/browse/FLEX-35190. I've updated my patch to fix this. Please, review. -- View this message in context: http://apache-flex-development.247.n4.na

RE: [FALCONJX][FLEXJS} SWF Subclass (and other) Overrides

2016-12-05 Thread Yishay Weiss
Sounds good. Will you be addressing code-hinting issues? From: Alex Harui Sent: Monday, December 5, 2016 8:50 PM To: dev@flex.apache.org Subject: [FALCONJX][FLEXJS} SWF Subclass (and other) Overrides Hi, I just pushed changes to allow c

Re: Avoiding goog renaming

2016-12-05 Thread Harbs
OK. I guess I’ll rework the definitions into extern js files when I have time. For now, using brackets seems to work. On Dec 6, 2016, at 9:31 AM, Alex Harui wrote: > > > On 12/5/16, 11:12 PM, "Harbs" wrote: > >> I created a swc library[1] which relies on some typedefs which I created >> usi

Re: [FALCONJX][FLEXJS} SWF Subclass (and other) Overrides

2016-12-05 Thread Alex Harui
On 12/5/16, 11:41 PM, "Yishay Weiss" wrote: >Sounds good. > > > >Will you be addressing code-hinting issues? Can you be more specific about which issues you are referring to? -Alex