Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread OmPrakash Muppirala
Thank you! On Tue, Jan 3, 2017 at 11:34 PM, piotrz wrote: > Thank you Om! I'm looking into that. > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/FlexJS-Runtime-error-when- > setting-a-propert

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread piotrz
Thank you Om! I'm looking into that. - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57885.html Sent from the Apache Flex Development ma

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread OmPrakash Muppirala
On Tue, Jan 3, 2017 at 10:17 PM, piotrz wrote: > Hi Om, > > Did you commit this code somewhere ? I don't see it in your branch > fontawesome. Can you commit ? > I pushed everything into the feature/fontawesome branch. The fontawesome library has all the required code and the flexteampage_mdl pr

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread yishayw
1) tue worked and got it down to 40 seconds. 2) Tried mvn package, but didn't notice a significant difference in build time. 3) You're right, the swcs are copied, not compiled. I still don't see how to compile js without flash? I looked in Carlos' MDL example, but I couldn't figure it out from the

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread Alex Harui
On 1/3/17, 10:17 PM, "yishayw" wrote: > >I'm not sure how this would work. I assume ConditionalBead is added to the >strand and stays there, listening to changes in data.twitter. Now suppose >data.twitter goes from null to non-null. What's supposed to happen? How is >the button state changed to

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread Alex Harui
On 1/3/17, 10:24 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: > >Sure, would love to give it a go. Can you give a quick overview of how >I >would go about it? Without thinking about it too hard, I would think it would look something like: [DefaultProperty("bead")] Class C

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread piotrz
Hi Om, Did you commit this code somewhere ? I don't see it in your branch fontawesome. Can you commit ? I was trying also run team page project and got following error: XMLHttpRequest cannot load http://flex.apache.org/team/team.json. No 'Access-Control-Allow-Origin' header is present on the requ

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread yishayw
Alex Harui wrote > So instead of: > > > > > > > > > > It would look like: > > > > > > > > > > > > I'm not sure how this would work. I assume ConditionalBead is added to the strand and stays there, listening to changes in data.twitter. Now suppose data

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread OmPrakash Muppirala
On Jan 3, 2017 8:50 PM, "Alex Harui" wrote: On 1/3/17, 6:34 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >> >> >> >> >> >> >> >> >> >> >Looks a bit verbose, but thinking about it, it makes perfect sense. >+1 from me! Since you need it, do you have ti

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread Alex Harui
On 1/3/17, 6:34 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >> >> >> >> >> >> >> >> >> >> >Looks a bit verbose, but thinking about it, it makes perfect sense. >+1 from me! Since you need it, do you have time to write it? -Alex

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread OmPrakash Muppirala
On Tue, Jan 3, 2017 at 1:38 PM, Alex Harui wrote: > This is a great topic. Currently, lots of things in MXML are easy to > declare and difficult or impossible to "un-declare". There is the > includeIn/excludeFrom for states, but states are more or less > one-dimensional and often the set of con

Re: [FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread OmPrakash Muppirala
I tried changing public static const APPLE:String = "fa-apple"; to public static var APPLE:String = "fa-apple"; I see a warning about data-binding, and I am still getting the same error in runtime. On Tue, Jan 3, 2017 at 6:28 PM, OmPrakash Muppirala wrote: > This works: > > > > T

[FlexJS] Runtime error when setting a property to a constant value

2017-01-03 Thread OmPrakash Muppirala
This works: This does not work: where FontAwesomeIconType.APPLE is defined as: public static const APPLE:String = "fa-apple"; Runtime errors: Uncaught TypeError: Cannot read property 'children' of undefined at org.apache.flex.binding.ItemRendererDataBinding.set_

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

2017-01-03 Thread flex . ci . builds
flex-sdk_release-candidate - Build #189 - 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/189/.

Re: Filter function to ArrayList?

2017-01-03 Thread Alex Harui
Hi Joel, I took a look at the code. It looks like it would work. I'm wondering if you considered: 1) directly accessing the underlying array instead of using super methods 2) storing the unfiltered data as an Array instead of an ArrayList. Thoughts? -Alex On 1/3/17, 3:28 PM, "JoelProminic" w

Re: Filter function to ArrayList?

2017-01-03 Thread JoelProminic
I updated the JIRA issue (https://issues.apache.org/jira/browse/FLEX-35232) with a modified version of the project where the visible elements of the FilteredArrayList are stored with the superclass logic, while the full list is maintained as a separate ArrayList instance. This makes FilteredArray

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread piotrz
Many years ago I was working as PHP dev and we were using web template engine were condition look similar. It was really pleasent to use it like that - I think it's quite nice idea. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-devel

Re: [FlexJS] How to bootstrap a library with its own html script tags

2017-01-03 Thread Alex Harui
On 1/3/17, 1:48 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: > >So maybe we should add Application.as in MDL.swc? > >But I'd like to support both ways to do this, since I use maven >construction to configure MDL colors through properties in pom.xml... I think for MDL, becaus

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread Carlos Rovira
seems reasonable to me and very in the "PAYG" way of life... 2017-01-03 22:38 GMT+01:00 Alex Harui : > This is a great topic. Currently, lots of things in MXML are easy to > declare and difficult or impossible to "un-declare". There is the > includeIn/excludeFrom for states, but states are more

Re: AW: [FlexJS] Integrate FontAwesome with FlexJS

2017-01-03 Thread Alex Harui
On 1/3/17, 12:12 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >I think that would be a great addition Om. Thanks for working on that! :) Yep. Looking forward to it. These efforts help us make sure we haven't hard-wired anything. Thanks, -Alex

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Alex Harui
OK, good start. It should have a noticeable reduction in the number of lines in our examples. -Alex On 1/3/17, 12:24 PM, "Peter Ent" wrote: >I've pushed an initial set of classes for this Express project. I did not >hook it up to the main build of flex-asjs yet but you should be able to >build

Re: [FlexJS] How to bootstrap a library with its own html script tags

2017-01-03 Thread Carlos Rovira
I search in codebase for "inject_html" and see this: /** * FalconJX will inject html into the index.html file. Surround with * "inject_html" tag as follows: * * * https://code.createjs.com/easeljs-0.8.1.min.js "> * https://code.createjs.com/tweenj

Re: [FlexJS] How to bootstrap a library with its own html script tags

2017-01-03 Thread Alex Harui
On 1/3/17, 12:24 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >Yes, I see that in the MDLExample project. But I don't want to add that >code to every app that uses the MDL library. > >The MDL library should add that inject_html itself. I just don't know how >to do that in t

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread Alex Harui
This is a great topic. Currently, lots of things in MXML are easy to declare and difficult or impossible to "un-declare". There is the includeIn/excludeFrom for states, but states are more or less one-dimensional and often the set of conditions each create their own dimension. In other words, yo

Re: AW: [FlexJS] Integrate FontAwesome with FlexJS

2017-01-03 Thread Christofer Dutz
And eventually over this year FontAwesome 5 will be published with a lot of OpenSource extensions (because the Kickstarter Campaign went so well) https://www.kickstarter.com/projects/232193852/font-awesome-5 Here the most interesting parts for the “Free” version: Funded!!! We’ll add our most-awe

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Christofer Dutz
Yeaaahhh … actually Carlos is right … I meant to say “Hi Carlos” ;-) Chris Am 03.01.17, 21:16 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos Rovira" : I think Chris, wanted to say "Hi Carlos" instead of "Hi Om" right? :) 2017-01-03 19:45 GMT+01:00 OmPr

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Peter Ent
I've pushed an initial set of classes for this Express project. I did not hook it up to the main build of flex-asjs yet but you should be able to build it from the project itself. I basically extended the standard HTML classes and added some default beads. —peter On 1/3/17, 3:11 PM, "carlos.rov.

Re: [FlexJS] How to bootstrap a library with its own html script tags

2017-01-03 Thread OmPrakash Muppirala
Yes, I see that in the MDLExample project. But I don't want to add that code to every app that uses the MDL library. The MDL library should add that inject_html itself. I just don't know how to do that in the library itself. Thanks, Om 2017-01-03 12:08 GMT-08:00 Carlos Rovira : > Hi Om, > > i

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Carlos Rovira
I think Chris, wanted to say "Hi Carlos" instead of "Hi Om" right? :) 2017-01-03 19:45 GMT+01:00 OmPrakash Muppirala : > On Tue, Jan 3, 2017 at 8:25 AM, Christofer Dutz > > wrote: > > > Hi Om, > > > > Well this should be the default, so if you set “debug=false” or simply > > omit the setting,

Re: git commit: [flex-asjs] [refs/heads/develop] - fix up ant build

2017-01-03 Thread Carlos Rovira
Hi Om, MDL needs to remove default css from HTML.swc, to work, since HTML comps adds lots of CSS rules that we don't want. So that fix was bring from pom.xml. in pom.xml needs to use the name of the artifact snapshot, while in ANT the name is more straight forward. That was the reason I was seein

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread piotrz
Sorry didn't understand fully. Well the only think which came up to my mind is use StrandUtils.loadBead in code. If condition occurs loadBead. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Ho

Re: AW: [FlexJS] Integrate FontAwesome with FlexJS

2017-01-03 Thread Carlos Rovira
I think that would be a great addition Om. Thanks for working on that! :) 2017-01-03 20:00 GMT+01:00 OmPrakash Muppirala : > Just a heads-up, I have started working on a FontAwesome library for > FlexJS. Some basic code is here, in case someone wants to take a peek: > https://github.com/apache/f

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Carlos Rovira
I think name should came after we have something with a bit of face that could inspire us, for the meantime I'll go a codename route with whatever name. 2017-01-03 21:07 GMT+01:00 Josh Tynjala : > I like Express too! > > - Josh > > On Jan 3, 2017 10:31 AM, "Peter Ent" wrote: > > > I think "Expre

Re: [FlexJS] How to bootstrap a library with its own html script tags

2017-01-03 Thread Carlos Rovira
Hi Om, in MDL is added in the HTML template. I think you could do the same, right? Could you check the way we do in MDLExample? Other way could be inject_html... 2017-01-03 20:16 GMT+01:00 OmPrakash Muppirala : > For the TeamPage_MDL project, I need to use the MDL library. But the > script

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Josh Tynjala
I like Express too! - Josh On Jan 3, 2017 10:31 AM, "Peter Ent" wrote: > I think "Express" isn't a bad name for this. It implies that you can get > something running quickly. > > Another name I thought of was "Star" (FlexJS Star). > > A third choice might be "Prime", meaning the main one to use

[FlexJS] How to bootstrap a library with its own html script tags

2017-01-03 Thread OmPrakash Muppirala
For the TeamPage_MDL project, I need to use the MDL library. But the script tag needs to be added in the app's html template. Is there any way to add this from the MDL library itself? I needed to create a FontAwesome library, and now I need to remember to update the app's html template before us

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Dev LFM
Maybe this indecision is related to how each one of us translate to our native language "default/standard/basic".. I really feel like the basic should indeed be called basic, like on Flex a ButtonBase. Hardly is used directly... and the Button is a component. If I will use flexjs, I'll use for su

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread OmPrakash Muppirala
Piotr, This is applicable only for this bead. I meant to ask, should we probably add a mechanism in the framework where you add a bead based on a condition. I guess the dependency will be added during runtime, but will not be added as a bead to the component if that condition fails. I am not su

Re: git commit: [flex-asjs] [refs/heads/develop] - fix up ant build

2017-01-03 Thread OmPrakash Muppirala
Alex, Can you please explain this change? The reason I ask is I copied FlexTeamPage_MDL example from this project so the same fix might need to go there as well. Thanks, Om On Tue, Jan 3, 2017 at 10:38 AM, wrote: > Repository: flex-asjs > Updated Branches: > refs/heads/develop ffd738dce ->

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Greg Dove
I'll chime in with a sugestion: "Origin" As in FlexJS Origin Components. Origin has both the general meaning of 'starting point' and also has the coordinate system meaning that is a loose metaphor for the possibility of increasing or decreasing something (e.g. features/weight) along an axis/conti

Re: [1/4] git commit: [flex-asjs] [refs/heads/example/teampage_mdl] - TBody.as has wrong class name

2017-01-03 Thread OmPrakash Muppirala
There was already a class named THead.as in the repo. I think someone copied the file, but forgot to change the name. My OCD kicked in because this was getting flagged by the IntelliJ :-) Thanks, Om 2017-01-03 3:34 GMT-08:00 Carlos Rovira : > Table classes must be rethinked, so maybe I would be

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread piotrz
Carlos, When I was in a half of your post I started to search in my head some contact to designer and at the end of your post! - I'm keeping finger cross! I like Express it's something different which gets my attention. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this messag

Re: AW: [FlexJS] Integrate FontAwesome with FlexJS

2017-01-03 Thread OmPrakash Muppirala
Just a heads-up, I have started working on a FontAwesome library for FlexJS. Some basic code is here, in case someone wants to take a peek: https://github.com/apache/flex-asjs/tree/feature/fontawesome I needed font awesome icons for the Flex Team Page app I have been building using FlexJS and MDL

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread OmPrakash Muppirala
Sorry, I am a bit late into this thread, but I like 'default' for heavy and 'lightweight' for the basic ones. Thanks, Om On Tue, Jan 3, 2017 at 10:39 AM, Alex Harui wrote: > IMO, "Express" is the best idea so far. I also thought of "Loaded" (with > beads), "Beaded", "Quickstart". > > Peter,

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread OmPrakash Muppirala
I think for the HTML version, we should build it on top of a native Table element. There are a lot of intricacies with grid layout and sizing that Table already solves. We don't want to reimplement all these functionalities in the AS3/JS layer. Thanks, Om On Tue, Jan 3, 2017 at 9:34 AM, Alex Ha

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread OmPrakash Muppirala
On Tue, Jan 3, 2017 at 8:25 AM, Christofer Dutz wrote: > Hi Om, > > Well this should be the default, so if you set “debug=false” or simply > omit the setting, the debug and the release version should be created. > Chris, what is the context, or did you refer to me by mistake? Thanks, Om > > C

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Alex Harui
IMO, "Express" is the best idea so far. I also thought of "Loaded" (with beads), "Beaded", "Quickstart". Peter, if you want to get started, make a folder called Express. We can always change it later. -Alex On 1/3/17, 10:31 AM, "Peter Ent" wrote: >I think "Express" isn't a bad name for this.

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Peter Ent
I think "Express" isn't a bad name for this. It implies that you can get something running quickly. Another name I thought of was "Star" (FlexJS Star). A third choice might be "Prime", meaning the main one to use. ‹peter On 1/3/17, 12:14 PM, "Dev LFM" wrote: >I've been listening this thread,

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Carlos Rovira
Hi Alex, I think MDL is needed right now to get some flexjs kind of "traction" out there, and I think it could be used to people out there, but I think it should not be what define us. FlexJS should have their own look and feel that would be quickly recognized and compite with the main ones out th

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Alex Harui
On 1/3/17, 9:12 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >I think that one important thing that should be introduced in the >standard, >default, heavier component set should be a FlexJS original component set >design. That should not be MDL, nor bootstrap or whatev

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread Alex Harui
IMO, Tables are not always DataGrids. Only if the cells have enough shared stuff to make it worth having a factory for them. A generic Table probably can't have a renderer. So it is fine to leverage dataProvider for some Tables. My 2 cents, -Alex On 1/3/17, 8:43 AM, "carlos.rov...@gmail.com on

Re: [FlexJS,MDL][Discuss] Tabs, TabBar with dataProvider+itemRenderer API

2017-01-03 Thread Alex Harui
IMO, there is no right answer and there doesn't really need to be. There can be many variants of Tabs and TabBars in a component set. Folks will choose the right one for their needs if properly documented. My 2 cents, -Alex On 1/3/17, 3:56 AM, "piotrz" wrote: >Hi, > >I've started to think abo

Re: [FlexJS, MDL] Why binding is not working in MDL example

2017-01-03 Thread piotrz
Jira created: https://issues.apache.org/jira/browse/FLEX-35236 - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Why-binding-is-not-working-in-MDL-example-tp57738p57834.html Sent from the Apache Flex

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Dev LFM
I've been listening this thread, sorry my intrusion.. Why not simply: - ComponentBase for the current set without beads, and "Component" for the ones with default beads included? I like "Express" too but not making much sense to me. My 2 cents ^^ 2017-01-03 16:53 GMT+00:00 Alex Harui : > Hi,

Re: [FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Carlos Rovira
Hi, I think that one important thing that should be introduced in the standard, default, heavier component set should be a FlexJS original component set design. That should not be MDL, nor bootstrap or whatever other common out there. That should be created by a top designer that would want to be

[FLEXJS] New Default Component Set (was Re: [FlexJS, MDL] Why binding is not working in MDL example)

2017-01-03 Thread Alex Harui
Hi, The original thread is another example of where PAYG becomes PITA. On another thread, Om wants to bake in HTML sanitization by default. IMO, these are things that should go in a heavier component set with more things baked in. IMO, this new, heavier component set would be the default for Fl

Re: [FlexJS, MDL] Why binding is not working in MDL example

2017-01-03 Thread Alex Harui
That would be a bug, IMO. -Alex On 1/3/17, 4:13 AM, "piotrz" wrote: >I see what was the problem: > >If my VO has [Bindable] on the top of the class it is not working. > >[Bindable] >public class MenuItemVO {} > >If I have [Bindable] on each properties it's working. > >public class MenuItemVO >

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread Carlos Rovira
Thanks Peter, I think I'll go the List route since I think a item renderer per row would be sufficient Right now we are not making the SWF version, but I think when we go that route the approach would be ok as well. Thanks for your comments! :) 2017-01-03 17:04 GMT+01:00 Peter Ent : > Hi

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Christofer Dutz
Hi Om, Well this should be the default, so if you set “debug=false” or simply omit the setting, the debug and the release version should be created. Chris Am 03.01.17, 16:52 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos Rovira" : Thanks Chris, Ok, so I'm creating the def

Re: [FlexJS] How to add html content?

2017-01-03 Thread flex capacitor
I have a few thoughts on that. I need a component like this in the past for the times I had separate HTML content already created but needed to be integrated into a Flex JS app. I would suggest a contentBefore, contentAfter and contentOverride properties maybe as a bead or a full separate component

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread Peter Ent
Hi (back from vacation here in the US), The FlexJS html.DataGrid is indeed composed of Lists which sit inside a scrollable Viewport so they all scroll together. The DataGrid beads take care of synchronizing the selection and produce a single change event. The header is a ButtonBar. The DataGridCo

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Carlos Rovira
Thanks Chris, Ok, so I'm creating the default debug release, (without true) So, what's the way to tell maven to create the release version? Thanks 2017-01-03 14:46 GMT+01:00 Christofer Dutz : > Hi Carlos, > > As far as I understand things is, that the compiler automatically produces > the deb

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread Carlos Rovira
Hi Piotr, I see something similar. I want to check more MDL table examples to see if there's more "data grid type" behaviour like cell editing, ordering, or something that make hard to do this with a List. If not, I think we could go down that path 2017-01-03 15:23 GMT+01:00 piotrz : > Carlos, >

Re: org.apache.flex.utils.Language.Vector is not a function

2017-01-03 Thread Alex Harui
On 1/3/17, 4:51 AM, "lizhi" wrote: >?nobody have this bug? > What is the simplest test case that reproduces the problem? -Alex

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread piotrz
Carlos, I see that Table has quite similar structure from FlexJS point of view to Tabs. Table has THead and TBody can have multiple columns Tabs has TabBar and multiple TabPanel Table could be the List with itemRenderer for Row and Header. Default item renderer for Row will display as many colum

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Christofer Dutz
Hi Carlos, As far as I understand things is, that the compiler automatically produces the debug version as default output. When doing a release build, this debug output is passed to the closure compiler which produces the release version from that. So you can disble the release compilation, but

Re: git commit: [flex-asjs] [refs/heads/develop] - If Bindable property is assigned to component itself ItemRendererSimpleBinding throws exception - example of such binding can be find: \examples\flex

2017-01-03 Thread piotrz
Code of CustomMenuItemRenderer -> https://paste.apache.org/4m3A - divider = {menuItem.hasDivider} - it cause fail. - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-git-commit-flex-asjs-refs-heads-develop-If

Re: git commit: [flex-asjs] [refs/heads/develop] - If Bindable property is assigned to component itself ItemRendererSimpleBinding throws exception - example of such binding can be find: \examples\flex

2017-01-03 Thread Piotr Zarzycki
Guys, That's my first fix in core and I'm not sure if this solution is ok. ) If I have code where bindable property is assigned to "this" class ItemRendererSimpleBinding failed on attempt of finding such property. If it doesn't look good please suggest solution. Piotr 2017-01-03 14:09 GMT+01:00

Re: org.apache.flex.utils.Language.Vector is not a function

2017-01-03 Thread lizhi
?nobody have this bug? - spriteflexjs.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/org-apache-flex-utils-Language-Vector-is-not-a-function-tp57649p57818.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Why binding is not working in MDL example

2017-01-03 Thread piotrz
I see what was the problem: If my VO has [Bindable] on the top of the class it is not working. [Bindable] public class MenuItemVO {} If I have [Bindable] on each properties it's working. public class MenuItemVO { [Bindable] public var label:String; } Piotr - Apache F

[FlexJS,MDL][Discuss] Tabs, TabBar with dataProvider+itemRenderer API

2017-01-03 Thread piotrz
Hi, I've started to think about dataProvider+itemRenderer API in Tabs, TabBar. Our current code in example look like -> https://paste.apache.org/X8cL I see following options: 1) Add to "Tabs" following properties - dataProvider - tabsRenderer - tabBarButtonRenderer "Tabs" view will generate al

[FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread Carlos Rovira
Hi, just thinking in MDL Table, I want to make some research to see how to do it Maybe it could be an extension of DataGrid, or it could be a List with a item renderer with cells (many times that was the trick in old Flex SDK) I remember reading some Peter's post about data grid saying that

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Carlos Rovira
Hi Chris, about true, I don't have it in MDLExample, but I'm always creating a debug version...maybe is set in a parent pom? 2017-01-03 12:14 GMT+01:00 Christofer Dutz : > Hi, > > 1) If you add “true” to the configuration of the > flexjs-maven-plugin it will not do the release compilation. > 2)

Re: [1/4] git commit: [flex-asjs] [refs/heads/example/teampage_mdl] - TBody.as has wrong class name

2017-01-03 Thread Carlos Rovira
Table classes must be rethinked, so maybe I would be safe to remove and start it from scratch... 2017-01-03 12:25 GMT+01:00 Piotr Zarzycki : > Om, > > It's actually wraps up "thead", so this class should be THead. I even > changed it in develop branch. Not sure why you were still seeing in your >

Re: [FlexJS, MDL] Update MDL to 1.3.0

2017-01-03 Thread Carlos Rovira
that's strange...browsers fragmentation is the worst in our new JS world, where, not only OS but even the same browser could give different results... 2017-01-03 12:13 GMT+01:00 piotrz : > That's my console in Chrome - No errors. > >

Re: [FlexJS, MDL] Update MDL to 1.3.0

2017-01-03 Thread Carlos Rovira
Ok, I found it. Strange I didn't see this when I created it :? It seems the CHANGE event in slider controller was not need to be re throw, and duplicating it was causing the stack overflow... El 3 de enero de 2017, 12:11, Carlos Rovira escribió: > I tried localy reverting to 1.2.1 and the stack

Re: [FlexJS, MDL] Update MDL to 1.3.0

2017-01-03 Thread piotrz
That's my console in Chrome - No errors. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Update-MDL-t

Re: [1/4] git commit: [flex-asjs] [refs/heads/example/teampage_mdl] - TBody.as has wrong class name

2017-01-03 Thread Piotr Zarzycki
Om, It's actually wraps up "thead", so this class should be THead. I even changed it in develop branch. Not sure why you were still seeing in your branch. Piotr 2017-01-03 11:18 GMT+01:00 : > Repository: flex-asjs > Updated Branches: > refs/heads/example/teampage_mdl [created] cac07e4c5 > > >

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Christofer Dutz
Hi, 1) If you add “true” to the configuration of the flexjs-maven-plugin it will not do the release compilation. 2) Haven’t experimented too much with that, but a “mvn package” should do something like that 3) You shouldn’t need to compile the framework in order to build an application. Maven d

Re: [FlexJS, MDL] Update MDL to 1.3.0

2017-01-03 Thread Carlos Rovira
I tried localy reverting to 1.2.1 and the stack is flowded equally, so the problem seems not to be related to the MDL change... El 3 de enero de 2017, 11:45, Carlos Rovira escribió: > Hi Piotrz, I tried again: > > * in Safari, Chrome, the browser throws (if you inspect and go to console > errors

Re: [FlexJS, MDL] Update MDL to 1.3.0

2017-01-03 Thread Carlos Rovira
Hi Piotrz, I tried again: * in Safari, Chrome, the browser throws (if you inspect and go to console errors): RangeError: Maximum call stack size exceeded. In Firefox it seems to work Hope, others could see if they see this error. I think is a huge one. 2017-01-02 20:27 GMT+01:00 piotrz : > A

Re: [FlexJS] How to set beads based on a condition?

2017-01-03 Thread piotrz
Hi Om, Lately I have fixed Disabled bead, it has property disabled - try to play with that. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-How-to-set-beads-based-on-a-condition-tp57798p57804.ht

Re: [FlexJS] [MDL] Does minifab work?

2017-01-03 Thread Carlos Rovira
I introduced "size", that does not work, I saw that in Material Design specs, but one reason could be that in "lite" this is not implementedanyway don't know the reason yet 2017-01-03 11:19 GMT+01:00 OmPrakash Muppirala : > Thanks for the quick response. Good to know that they don't work.

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Carlos Rovira
Hi Yishayw, MDLExample is 6.2sec in my macbookpro MaterialDesginLibrary.swc is 6.1sec and so on, Maybe your app has a lot of classes and code, and goes up to 1 min... 1) I only compile JS (you can check MDLExample) 2) don't know about this, maybe others... 3) Yes. You pass "mvn clean install" in

Re: [FlexJS] [MDL] Does minifab work?

2017-01-03 Thread OmPrakash Muppirala
Thanks for the quick response. Good to know that they don't work. I will take a look at it when I get a chance. Regards, Om 2017-01-03 2:11 GMT-08:00 Carlos Rovira : > Hi Om, > > sizes in MDL are not working, are implemented as is stated but doesn't > work. I don't know why. I left that for la

Re: [FlexJS] [MDL] Does minifab work?

2017-01-03 Thread Carlos Rovira
Hi Om, sizes in MDL are not working, are implemented as is stated but doesn't work. I don't know why. I left that for later. Please try to check why is the problem for me if you can. Thanks 2017-01-03 10:57 GMT+01:00 OmPrakash Muppirala : > I did not see an example for the minifab button, but

Re: [FlexJS, MDL] Help with MDL

2017-01-03 Thread Carlos Rovira
Great! :) 2017-01-03 8:38 GMT+01:00 piotrz : > Carlos, > > I'm starting to fight with dataProvider+itemRenderer API for Tabs. :) Let's > finish whole set of components! > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- >

[FlexJS] [MDL] Does minifab work?

2017-01-03 Thread OmPrakash Muppirala
I did not see an example for the minifab button, but I do see the boolean property available. When I set it to true, the button shows up as a normal rectangular shaped button. Is this a bug or am I doing something wrong? Here is what i am trying:

[FlexJS] How to set beads based on a condition?

2017-01-03 Thread OmPrakash Muppirala
I want to show a button in my itemrenderer. Depending on the data value, I want to enable or disable it. In the mdl example, I see this: Is there a way to conditionally set a bead? I'm guessing the syntax would be something like this:

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread yishayw
Using the correct artifactId the stub was created. I changed , and , added some framework dependencies, and I now have our app compiling in maven. The build is still to slow to my liking (1 minute on my machine). So I have some questions: 1) Can I compile to JS debug only (no release, no flash)?