Re: [FlexJS] About Component Cycle and Events

2016-12-14 Thread Alex Harui
On 12/14/16, 10:25 PM, "Yishay Weiss" wrote: > >That was my intent, load it when necessary. My point was that there was >no reason to attach event handlers when you need the bead, you can just >check for its existence and load it if necessary. I just took a look at strandutils. Sure it package

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

2016-12-14 Thread piotrz
Hi Carlos, I have some concerns about MdlColor as an bead: In that case I wanted to that ContactChip bead will take MdlColor and apply to yourself. MdlColor is a bead which apply color to his Strand - in t

FW: [FlexJS] About Component Cycle and Events

2016-12-14 Thread Yishay Weiss
From: Yishay Weiss Sent: Thursday, December 15, 2016 8:24 AM To: Alex Harui Subject: RE: [FlexJS] About Component Cycle and Events That was my intent, load it when necessary. My point was that there was no reason to attach event handler

Re: [FlexJS] Removing bead

2016-12-14 Thread Alex Harui
On 12/14/16, 8:59 PM, "Josh Tynjala" wrote: >Would it keep something in memory that should be garbage collected, >though? Yes, sure. If you remove a bead you declared in MXML you should search that array and remove it. We could write a utility function that does that if folks do it often. I

Re: [FlexJS] Getting started code example snippets!

2016-12-14 Thread Alex Harui
Excellent Josh, thanks for doing it. BTW, folks who aren't committers (yet) can get write access to the wiki if they want to help write more of these pages. Create an account on the wiki and let me know what it is. -Alex On 12/14/16, 8:13 PM, "Josh Tynjala" wrote: >Hi, FlexJS community! > >In

Re: [FlexJS] Removing bead

2016-12-14 Thread Josh Tynjala
Would it keep something in memory that should be garbage collected, though? - Josh On Dec 14, 2016 8:43 PM, "Alex Harui" wrote: > > > On 12/14/16, 1:30 PM, "piotrz" wrote: > > >Hi All, > > > >While I was moving forward with implementation of MdlColor bead I have > >found > >that UIBase class c

Re: [FlexJS] About Component Cycle and Events

2016-12-14 Thread Alex Harui
On 12/14/16, 1:50 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >On Wed, Dec 14, 2016 at 11:18 AM, Alex Harui wrote: > >> >> >> On 12/14/16, 10:42 AM, "yishayw" wrote: >> >>>Is there a reason not to proactively load the beads you need? If you use >> >org.apache.flex.utils.St

Re: [FlexJS] Removing bead

2016-12-14 Thread Alex Harui
On 12/14/16, 1:30 PM, "piotrz" wrote: >Hi All, > >While I was moving forward with implementation of MdlColor bead I have >found >that UIBase class could have a bug on JS sight. > >When we want to remove bead method responsible for that is removing bead >from: > >COMPILE::SWF >private var _beads

Re: [DISCUSS] Apache Flex SDK 4.16 RC1 release

2016-12-14 Thread Alex Harui
On 12/14/16, 12:51 PM, "Justin Mclean" wrote: >Hi, > >The CI branch change was requested back at the start of November. [1] I didn't see in my mailbox any subsequent requests. Why did you not ask again, or did I miss it? I've been buried with FlexJS stuff and was sort of hoping others would

[FlexJS] Getting started code example snippets!

2016-12-14 Thread Josh Tynjala
Hi, FlexJS community! In order to make it easier for developers everywhere to get started building apps with FlexJS components, I started putting together some simple code examples. I'm talking about the most foundational things that you might want to do with each different component, like setting

RE: Attached document

2016-12-14 Thread Greg Sedlock
Canon, what is this doc? Thanks Greg From: ca...@apache.org [mailto:ca...@apache.org] Sent: Wednesday, December 14, 2016 10:21 AM To: flex-dev Subject: Attached document

Re: [FlexJS] About Component Cycle and Events

2016-12-14 Thread OmPrakash Muppirala
On Wed, Dec 14, 2016 at 11:18 AM, Alex Harui wrote: > > > On 12/14/16, 10:42 AM, "yishayw" wrote: > > >Peter Ent wrote > >> If your bead needs to know another bead exists, typically a view bead, > >> then in the strand-setter, ask for that bead using > >>strand.getBeadByType(). > >> If it comes

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

2016-12-14 Thread piotrz
Hi Carlos, I do not have problem with this, feel free to do this. Currently I'm fighting with implementation of MdlColor class as an bead. Class itself is working fine but I have problems with applying it to ContactChip. Hope to commit it over the weekend :) Piotr - Apache Flex PMC piot

[FlexJS] Removing bead

2016-12-14 Thread piotrz
Hi All, While I was moving forward with implementation of MdlColor bead I have found that UIBase class could have a bug on JS sight. When we want to remove bead method responsible for that is removing bead from: COMPILE::SWF private var _beads:Vector.; but do not touch public field: public var

Re: [FlexJS] InnerHTML new bead

2016-12-14 Thread Carlos Rovira
Hi Alex, I'm rethinking the problem, so I'll be experimenting a bit to see where I should go. Thanks! :) 2016-12-14 2:37 GMT+01:00 Alex Harui : > What problem are you trying to solve? What are some usage scenarios? > > -Alex > > On 12/13/16, 4:53 PM, "carlos.rov...@gmail.com on behalf of Carlos

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

2016-12-14 Thread Carlos Rovira
Hi Piotr, I'm having problems with the current icon implementation as a bead. don't remember the reason why is a bead instead a normal component. The problem is that we can't specify where the icon is located, and sometimes we need between other components. For that reason I propose you to change

Re: [DISCUSS] Apache Flex SDK 4.16 RC1 release

2016-12-14 Thread Justin Mclean
Hi, BTW it looks like the build is currently broken use to a source forge issue, saxonb fails to download so may be a bit longer to make the next RC. Thanks, Justin

Re: [DISCUSS] Apache Flex SDK 4.16 RC1 release

2016-12-14 Thread Justin Mclean
Hi, The CI branch change was requested back at the start of November. [1] Justin 1.https://lists.apache.org/thread.html/62182f946dfc4e5735e24828d069c20b2b2b7e5c15129626263dda89@%3Cdev.flex.apache.org%3E

Re: Moonshine 1.3.0 Release

2016-12-14 Thread JoelProminic
Thanks, Alex, I have created an internal JIRA issue for your reported glitch. By the way, to download an SDK in Windows Moonshine, do the following: 1. File -> Settings 2. MXMLC Compiler Plugin 3. There is a link called "Download a New SDK" 4. Select the desired FlexJS interface. The download too

Re: [DISCUSS] Apache Flex SDK 4.16 RC1 release

2016-12-14 Thread OmPrakash Muppirala
I think that link is broken. Here is the correct one: https://cwiki.apache.org/confluence/display/FLEX/A+guide+to+the+Apache+Flex+release+process On Wed, Dec 14, 2016 at 10:24 AM, Alex Harui wrote: > > > On 12/14/16, 3:53 AM, "Justin Mclean" wrote: > > >Hi, > > > >> You are right. I removed t

Re: [FlexJS] About Component Cycle and Events

2016-12-14 Thread Alex Harui
On 12/14/16, 10:42 AM, "yishayw" wrote: >Peter Ent wrote >> If your bead needs to know another bead exists, typically a view bead, >> then in the strand-setter, ask for that bead using >>strand.getBeadByType(). >> If it comes back, then you are good to proceed, but if you get null, >>then >> se

Re: Filter function to ArrayList?

2016-12-14 Thread Alex Harui
On 12/14/16, 1:29 AM, "sankar" wrote: >In conventional application we often found a list/grid with a search text >box. This was easy to handle and filter the collection in Flex SDK, and >affect the list/grid UI per it's binding. > > >> private function filterCollectionOnTextSearch():void >> {

Re: [FlexJS] Build Failing

2016-12-14 Thread Alex Harui
On 12/14/16, 3:41 AM, "Yishay Weiss" wrote: >I don’t know if it’s related, or if my recent changes are at fault, but >now Jenkins is complaining that CordovaCameraExample isn’t building. Any >ideas? This is a separate issue. Looks like there is a thread-safe issue in the compiler. -Alex

Re: [FlexJS] About Component Cycle and Events

2016-12-14 Thread yishayw
Peter Ent wrote > If your bead needs to know another bead exists, typically a view bead, > then in the strand-setter, ask for that bead using strand.getBeadByType(). > If it comes back, then you are good to proceed, but if you get null, then > set up an event listener for viewChanged (or whatever e

Re: [FlexJS] Compilation error - difficult to debug

2016-12-14 Thread Carlos Rovira
Just created one: FLEX-35218 - FlexJS Errors unable to debug 2016-12-14 2:38 GMT+01:00 Alex Harui : > File a bug with a test case. > > On 12/13/16, 5:23 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > wrote: > > >> > > >> >Could not

Re: [FLEXJS] ASDoc App

2016-12-14 Thread yishayw
One of the reasons I like this idea is that it gives a chance to easily see bugs in FlexJS. Two things that popped up: 1) Scrolling in SWF version is slow to the point of not working. 2) Loading HTML version in Edge takes forever. I think we should leverage this and add it as a component on whic

Re: [FlexJS] About Component Cycle and Events

2016-12-14 Thread Carlos Rovira
Many Thanks Peter, that was of much helpful :) 2016-12-14 16:16 GMT+01:00 Peter Ent : > My experience with bead-writing is that if your bead has no dependencies > on other beads, then doing your set up in the strand-setting is the > easiest. > > If your bead needs to know another bead exists, typ

Re: [DISCUSS] Apache Flex SDK 4.16 RC1 release

2016-12-14 Thread Alex Harui
On 12/14/16, 3:53 AM, "Justin Mclean" wrote: >Hi, > >> You are right. I removed them for local testing and checked it in by >> mistake. I have reinstated these lines now. > >No problem I’ll cancel the current RC and make a new one. May take a day >or so as I’m currently occupied with teaching

Re: [FlexJS] Build Failing

2016-12-14 Thread Alex Harui
On 12/14/16, 6:32 AM, "Yishay Weiss" wrote: >It looks like I wasn’t synchronized. It’s working now. > > > >Part of the problem was an Error that I had introduced. It wasn’t >detected by my local ant build (probably because the culprit – >EasyAccordionCollapseBead - wasn’t being compiled. It wa

Re: [FLEXJS] ASDoc App

2016-12-14 Thread yishayw
This is a great idea. Here are thr proper links (not broken by newlines) [1] SWF version: http://apacheflexbuild.cloudapp.net:8080/job/FlexJS%20ASDoc%20Example/lastSuccessfulBuild/artifact/examples/flexjs/ASDoc/bin-debug/ASDoc.html [2] JS version: http://apacheflexbuild.cloudapp.net:8080/job/F

Re: [FLEXJS] ASDoc App

2016-12-14 Thread Alex Harui
On 12/14/16, 10:00 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >great work! :) > >I updated the pom.xml and uploaded, but doesn't has any content yet at the >momento (but compilation is working in js) :) Yeah, the simple part of adding the pom to compile the sou

Re: [FLEXJS] ASDoc App

2016-12-14 Thread Carlos Rovira
Hi Alex, great work! :) I updated the pom.xml and uploaded, but doesn't has any content yet at the momento (but compilation is working in js) :) 2016-12-14 18:38 GMT+01:00 Alex Harui : > Hi, > > Today I finally got enough of a FlexJS ASDoc app running to mention it on > the list, in hope that o

[FLEXJS] ASDoc App

2016-12-14 Thread Alex Harui
Hi, Today I finally got enough of a FlexJS ASDoc app running to mention it on the list, in hope that other folks can pitch in to help us finish it and help prove that FlexJS can help folks do something useful, as well as make it easier for folks to write code with FlexJS. Normally, our ASDoc is p

Re: Snippets for FlexJS

2016-12-14 Thread Alex Harui
Well, this took a bit longer than I expected, but I did finally get what I think is the foundation of a FlexJS ASDoc app up and running (well, crawling...). More about this in another thread, but you might be able to work from the code to get the aggregations you want for your snippets. HTH, -Ale

[FlexJS] StringItemRenderer

2016-12-14 Thread Peter Ent
Hi, I made a change yesterday to StringItemRenderer that I feel I you should all know about. For the JS platform, StringItemRenderer now produces a instead of . I did this to get the DateChooser to allow its elements to float in the middle of the day squares. The uses "vertical-align" and "l

Re: [FlexJS] About Component Cycle and Events

2016-12-14 Thread Peter Ent
My experience with bead-writing is that if your bead has no dependencies on other beads, then doing your set up in the strand-setting is the easiest. If your bead needs to know another bead exists, typically a view bead, then in the strand-setter, ask for that bead using strand.getBeadByType(). I

RE: [FlexJS] Build Failing

2016-12-14 Thread Yishay Weiss
It looks like I wasn’t synchronized. It’s working now. Part of the problem was an Error that I had introduced. It wasn’t detected by my local ant build (probably because the culprit – EasyAccordionCollapseBead - wasn’t being compiled. It was detected, but not diagnosed properly by https://bu

Re: Avoiding goog renaming

2016-12-14 Thread Harbs
I personally don’t like the convention to use comments. It feels more like a hack than a language feature. But it’s not a show-stopper. I would vote for [Externs] or @externs rather than /*@externs*/ On Dec 14, 2016, at 1:19 AM, Alex Harui wrote: > As an ASDoc tag, so /** @externs */ > > On 1

[CANCEL][VOTE] Release Apache Flex SDK 4.15 RC1

2016-12-14 Thread Justin Mclean
Hi, An issue has been found with the installer config so this vote is cancelled. Expect a new RC2 shortly. Thanks, Justin

Re: [DISCUSS] Apache Flex SDK 4.16 RC1 release

2016-12-14 Thread Justin Mclean
Hi, > You are right. I removed them for local testing and checked it in by > mistake. I have reinstated these lines now. No problem I’ll cancel the current RC and make a new one. May take a day or so as I’m currently occupied with teaching a 3 day course and other commitments. Thanks, Justin

RE: [FlexJS] Build Failing

2016-12-14 Thread Yishay Weiss
I don’t know if it’s related, or if my recent changes are at fault, but now Jenkins is complaining that CordovaCameraExample isn’t building. Any ideas? From: Yishay Weiss Sent: Wednesday, December 14, 2016 10:49 AM To: dev@flex.apache.org

Filter function to ArrayList?

2016-12-14 Thread sankar
In conventional application we often found a list/grid with a search text box. This was easy to handle and filter the collection in Flex SDK, and affect the list/grid UI per it's binding. > private function filterCollectionOnTextSearch():void > { > gridArrayCol

RE: [FlexJS] Build Failing

2016-12-14 Thread Yishay Weiss
But the examples aren’t building… When I do this: C:\dev\flexjs\flex-asjs\examples\flexjs\DataBindingExample>ant I get that: BUILD FAILED C:\dev\flexjs\flex-asjs\examples\build_example.xml:137: C:\dev\flexjs\flex-asjs\ examples\flexjs\DataBindingExample\src\main\resources does not exi