Re: [FlexJS] Container and Layout Progress

2017-03-23 Thread Peter Ent
s > > > > Am 23.03.17, 17:02 schrieb "Peter Ent" : > >Hi, > >I've committed the changes!! The build should skip, MDL, Charts, and Basic >projects. I will get MDL and Charts running next. But before that, I will >have an email out with

Re: [FlexJS] Container and Layout Progress

2017-03-23 Thread Peter Ent
out major structural changes since it JS-side only which makes it easier now. —peter On 3/23/17, 2:01 PM, "Peter Ent" wrote: >Yes, Chris does have a good point and from now on* I will definitely use >feature branches. I thought I could squeeze this through. > >I checked in ch

Re: [FlexJS] Summary of Changes

2017-03-23 Thread Peter Ent
; >There might be a need to easily flip position between absolute and >relative, but we¹ll see. > >I¹m looking forward to seeing how the changes behave. :-) > >Harbs > >> On Mar 23, 2017, at 7:27 PM, Peter Ent wrote: >> >> FlexJS Container and Layout Upgrade &g

Re: [FlexJS] Container and Layout Progress

2017-03-24 Thread Peter Ent
Things should build now. Charts will not work yet, but MDL example (at least one) now runs for me. ‹peter On 3/24/17, 2:58 AM, "Christofer Dutz" wrote: >Hi Guys, > >Well I am expecting to be able to build develop Š if there are changes >that break things, these belong in a feature branch until

Re: [FlexJS] Summary of Changes

2017-03-24 Thread Peter Ent
t controls that life cycle (I removed redundant code where I found it). Cheers, Peter On 3/23/17, 1:27 PM, "Peter Ent" wrote: >FlexJS Container and Layout Upgrade > >My goal when starting this process was to have FlexJS produce leaner HTML >structures and to reduce the amo

Re: [FlexJS] Summary of Changes

2017-03-24 Thread Peter Ent
://css-tricks.com/snippets/css/a-guide-to-flexbox/ Regards, Peter On 3/24/17, 8:33 AM, "Peter Ent" wrote: >Amendment to these changes: > >Charts: This package should compile now, but will probably not work >completely. Next on my list. > >MDL: This package compiles a

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 819 - Still Failing

2017-03-24 Thread Peter Ent
I deliberately didn't work on Basic because it would almost be a complete duplicate of the work in HTML. I think need to decide how to proceed here and begin to divide up the projects more. HTML has way too much in it, I think. Perhaps start a discussion thread on it again? ‹peter On 3/24/17, 9:4

Re: [FlexJS] Struggling with custom HTML

2017-03-26 Thread Peter Ent
The way it stands now, you do need to create a new component in the framework somewhere. In the long run, developers will want to make their own component sets that make use of conditional compilation, so now would be a good time to come up with that. You should be able to do this outside of the fr

Re: [FlexJS] Anyone working on the build problems?

2017-03-26 Thread Peter Ent
I didn't think the build, built the examples. If that's the case, I'll build the examples and see what fails and then exclude those from the build and work on them to get them running again. ‹peter On 3/26/17, 11:30 AM, "Christofer Dutz" wrote: >Hi, > >For the last 4 days the build of FlexJS fra

Re: [FlexJS] Summary of Changes

2017-03-26 Thread Peter Ent
I'm looking at the Tour right now. When you use the Flexbox layouts, you need to specify flex-grow:1 for anything you want to grow to fill the remaining space; otherwise it uses its native or explicit size. You could try to switch over to the normal horizontal and vertical layouts and see if they w

Re: [FlexJS] Summary of Changes

2017-03-26 Thread Peter Ent
For the time being, the Tour main view should have a width and a height: Then in the style section, give everything flex-grow: 1; and it should look better. I think some padding and/or margins might be needed, but I think I have more work do with the layouts. I'll bump getting the tour to the to

Re: [FlexJS] Summary of Changes

2017-03-27 Thread Peter Ent
ly need the old behavior in some components. > >Is there any components which work the same as they used to? > >Harbs > >> On Mar 26, 2017, at 6:55 PM, Peter Ent wrote: >> >> For the time being, the Tour main view should have a width and a height: >> >>

Re: [FlexJS] Summary of Changes

2017-03-27 Thread Peter Ent
> >1. This used to create a centered group of buttons. Now, the container >has a height of 0 and the buttons don’t show up. > >2. >id="scrollContainer" >width="100%" height="100%"> > > > > id="desig

Re: [FlexJS] Summary of Changes

2017-03-28 Thread Peter Ent
we want to have that in the mxml, once things have >become stable. > > >On Tue, Mar 28, 2017 at 9:52 AM, Peter Ent wrote: > >> Does the HTML look OK - the structure. Is there anything missing? You >> should see a simplified nesting of DIVs. If that's the case, then

Re: [FlexJS] Summary of Changes

2017-03-28 Thread Peter Ent
height="100%"> >> >> >> >> > id="designContainer" >>className="_holder"

Re: [FlexJS] Summary of Changes

2017-03-28 Thread Peter Ent
I forgot to add that "align-items:center" is not supported on the SWF side yet. The Flexbox has a number of properties that I still have to implement on the flex side. On 3/28/17, 8:11 AM, "Peter Ent" wrote: >The HorizontalLayout and VerticalLayout do not center the

Re: [FlexJS] Summary of Changes

2017-03-28 Thread Peter Ent
in the mxml, once things have >become stable. > > >On Tue, Mar 28, 2017 at 9:52 AM, Peter Ent wrote: > >> Does the HTML look OK - the structure. Is there anything missing? You >> should see a simplified nesting of DIVs. If that's the case, then maybe >> there is

Re: [FlexJS] Summary of Changes

2017-03-28 Thread Peter Ent
I just pushed a change to the tour code. It should be better. We should be able to do this with the regular horizontal and vertical layouts with % sizing, I think, and not just with Flexbox layouts. One thing I changed was to remove the grow="1" on the layouts. I put that in there to make it easy

Re: [DISCUSS] Changing our general mode of development?

2017-03-28 Thread Peter Ent
ranch so everyone can try it out first before it gets merged into develop. We need to clean FlexJS up - I believe there are lots of unused files and the HTML project is way too big. So keep that in mind for the near future if you want do that. Regards, Peter Ent On 3/28/17, 12:49 PM,

Re: [FlexJS] Summary of Changes

2017-03-29 Thread Peter Ent
er" >>width="100%" height="100%"> >> >> >> >> > id="designContainer"

[FlexJS] feature branch

2017-03-29 Thread Peter Ent
Hi, I've pushed feature/chart-work that contains updates to the Chart package, but also other structural changes to HTML to support it. If you have time, check it out and see if your work builds and runs with it. MDL might need a little refactoring; I have it compiling but I do not know yet if

Re: [FlexJS] feature branch

2017-03-30 Thread Peter Ent
Thanks! ‹peter On 3/30/17, 3:34 AM, "Christofer Dutz" wrote: >And I just added that branch to compiler and typedefs and now you have >your free Jenkins Build ( > >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbuilds.ap >ache.org%2Fview%2FE-G%2Fview%2FFlex%2Fjob%2FFlexJS%2520Pi

Re: [FlexJS] feature branch

2017-03-30 Thread Peter Ent
Yes, please push the changes when you can. Thank you! ‹peter On 3/30/17, 12:59 AM, "piotrz" wrote: >Hi Peter, > >I just checked your branch and MDL look fine. In order to build it I had >to >merge current develop to your branch I hope that you don't mind if I >pushit >it. Changes which come from

Re: [FlexJS] feature branch

2017-03-30 Thread Peter Ent
Hi, I took a look at your changes to ListExample. I see I forgot to put in a ReadMe or some comments to show why the example is written the way it is. The example is supposed to show a deconstruction of a list, by starting with UIBase and adding in the things that make a list a "List". The point

Re: [FlexJS] feature branch

2017-03-30 Thread Peter Ent
e a UIComponentBase class that extends GroupBase and puts in BasicLayout. Then you just need to trigger the layout once your view has been created and whenever it changes side. —peter On 3/30/17, 8:23 AM, "Peter Ent" wrote: >Yes, please push the changes when you can. Thank you! &g

Re: [FlexJS] feature branch

2017-03-30 Thread Peter Ent
nd miscalculation of its location) now that nesting of elements has disappeared. The charts look back to normal except for the "optimized" SVG version; I think that's a position style issue, too. Thanks, Peter PS: This feature branch thing really was a good idea. On 3/29/17, 5:28 PM

Re: [FlexJS] feature branch

2017-03-31 Thread Peter Ent
It looks like there is more work to do with Falcon, if I'm reading this right. ‹peter On 3/31/17, 1:32 AM, "piotrz" wrote: >Peter, > >Develop has exactly same issue and Jenkins reported it also [1] > >[1] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbuilds.ap >ache.org%2Fvie

[FlexJS] MDL Help Needed

2017-03-31 Thread Peter Ent
Hi, I've finalized the changes I wanted to make to get the core of FlexJS to be more efficient. Most of the projects seem to work now, except MDL. The MDLExample was working for me before I undertook this last change, but now it fails and it looks like it is failing down in some Google JS code.

Re: [FlexJS] MDL Help Needed

2017-03-31 Thread Peter Ent
Thanks so much. I'm pretty sure it will be an easy fix, depending on how MDL thinks of things, container-wise. ‹peter On 3/31/17, 4:51 PM, "piotrz" wrote: >Hi Peter, > >I will try to expose bug in simpler example over the weekend. I will let >you >know. > >Piotr > > > >- >Apache Flex PMC >p

Re: [FlexJS] MDL Help Needed

2017-04-01 Thread Peter Ent
Thanks. I will try this as soon as I can. Peter > On Apr 1, 2017, at 1:54 PM, piotrz wrote: > > Peter, > > I got it! :) After 3 hours of fight I was able to expose problem. I've > prepared simple application where you can reproduce it [1]. > > In general for some reason compiler is not ge

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread Peter Ent
Hi - just saw this (Sunday morning here). When you use the "flexible" layouts, you don't need percent sizing. If you do put explicit or percent sizing in, the layout code (SWF side) probably won't do the right thing with it and I'd have to see what HTML does with it. I'm still understanding the H

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Peter Ent
HI, I haven't got MDL working completely, but I found the cause of the problem. The Span class is extending ContainerBase. That won't work now because ContainerBase no longer supports MXML children - I moved that into Container (and Group and View). I also don't think you need Container for HTML

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread Peter Ent
rote: >It looks like the problem is that layoutViewAfterContentLayout(); is now >wrapped in a COMPILE::SWF block. > >> On Apr 2, 2017, at 8:56 AM, yishayw wrote: >> >> Peter Ent wrote >>> >>> >>> >>> >>> >>> &g

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Peter Ent
I've pushed changes to HTML and MDL libraries in the feature/chart-work branch. In order to get the small example you made to work, I had to change MDL's List. Actually, I simplified it a great deal so that is 90% the HTML List with just a few changes now. The main MDLExample still isn't running,

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Peter Ent
Yes. I hope to resolve this quickly. What I did was move the MXML support from the GroupBase/ViewBase/ContainerBase classes into the Group/View/Container classes. I did this so that there was an easy inheritance chain: ChartBase->ListBase->DataContainerBase->ContainerBase->GroupBase with each of t

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-03 Thread Peter Ent
Something is not right with the layouts. I'm looking into it today. ‹peter On 4/3/17, 2:43 AM, "yishayw" wrote: >I just tested the test case upthread on feature/chart-work and I'm getting >the same problem. 'cont2' does not get sized and is not shown. > > > >-- >View this message in context: >ht

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-03 Thread Peter Ent
I now run your sample using the correction I just pushed, I see a green bar all the way across the top of the browser and blue fills the rest of the browser space. Regards, Peter On 4/3/17, 8:50 AM, "Peter Ent" wrote: >Something is not right with the layouts. I'm looking into it

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread Peter Ent
Hi, I now have the MDLExample running. I've committed and pushed my changes onto feature/chart-work. I have not sync'd with flex-falcon in a while - so I don't know if that makes a difference. I am hoping that any issues now are related to SWF-side layout code. Going forward, if your component n

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread Peter Ent
I guess I forgot what the example actually looked like - so much stuff appeared when I ran it! I will look into Tabs, and you are probably right, it would extend List if it were a list. ‹peter On 4/3/17, 11:28 AM, "piotrz" wrote: >Peter, > >I think falcon on your branch is synced, cause I did i

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread Peter Ent
Hi, I think I need your help again. I noticed that when I tap on something I'm taken to getmdl.io. Could you put another sample together that uses Tabs? That should help make it go faster. Thanks. Peter On 4/3/17, 11:28 AM, "piotrz" wrote: >Peter, > >I think falcon on your branch is synced, cau

Re: [FlexJS] MDL Help Needed

2017-04-03 Thread Peter Ent
Thanks. I didn't see that. I will work on that next. ‹peter On 4/3/17, 4:38 PM, "piotrz" wrote: >Peter, > >There is such app in the example: MDLDynamicTabsExample :) > >Try it out - it also do not display Tabs. > >Piotr > > > >- >Apache Flex PMC >piotrzarzyck...@gmail.com >-- >View this mes

Re: [FlexJS] MDL Help Needed

2017-04-04 Thread Peter Ent
Much, much more of the MDLExample is now working the changes to Tabs and TabBar. - In the MDLDynamicTabsExample, the tabs appear and can be selected, but when a new tab is added, the information about what tab was previously selected is lost. - In the MDLExample, Tabs selection, the first tab bar

Re: [FlexJS] State of the examples

2017-04-04 Thread Peter Ent
I haven't tried it yet. I have it on my list. I'll take a look at it today. ‹peter On 4/4/17, 11:05 AM, "Harbs" wrote: >Has anyone tested js:ComboBox recently? I just tried one and it¹s not >working very well. I don¹t know if it¹s something I¹m doing wrong, or >it¹s currently broken. > >> On Apr

[FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Peter Ent
Hi, I would like to merge the feature/chart-work into the develop branch in about 5 hours from now which would make it 4:30pm EDT (9:30pm UTC, I think). Does anyone have a strong objection to that? To recap: The thrust of this feature branch was to get Charts working, but that lead to re-exami

Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Peter Ent
I just changed Menu to extend DataContainer and now that works fine, for me, in MDLExample. Thank you for reminding me. ‹peter On 4/5/17, 11:37 AM, "piotrz" wrote: >Hi Peter, > >I didn't check MDLExample after your last push, but didn't you mention >that >MDL Menu is blank ? >If it's not workin

Re: [FlexJS] Merge feature/chart-work into develop

2017-04-05 Thread Peter Ent
I have decided not to merge today. I ran an example with DataGrid embedded within a Container and sized to width="100%" and it did not respond properly to the resize. I know what happened, just working on how to make it work correctly. ‹peter On 4/5/17, 1:35 PM, "piotrz" wrote: >Peter I just me

Re: [FlexJS] Merge feature/chart-work into develop

2017-04-06 Thread Peter Ent
I fixed the missing piece for the text fields example. Still looking into the tabs. ‹peter On 4/5/17, 5:46 PM, "piotrz" wrote: >Peter, > >I just tried your changes and check MDLExample and MDLDynamicTabsExample. > >In MDLExample: >TextFields are not displayed > >In MDLDynamicTabsExample: >I see

[FlexJS] feature/chart_work status

2017-04-06 Thread Peter Ent
o the build completes. I will not merge into develop until tomorrow, Friday 7 Apr 2017, in the afternoon EDT (after 6pm UTC). I will keep you posted. Regards, Peter Ent Adobe Systems/Apache Flex Project

Re: [FlexJS] feature/chart_work status

2017-04-07 Thread Peter Ent
I see that. I thought I fixed that. I'll look it while I'm building the examples. ‹peter On 4/6/17, 5:55 PM, "piotrz" wrote: >Hi Peter, > >I just tried MDLExample and it look good, but MDLDynamicTabsExample has >same >problem. Something is going wrong when Tab is being added. > >Piotr > > > >---

Re: [FlexJS] feature/chart_work status

2017-04-07 Thread Peter Ent
x27;ll continue to work on it over the weekend and we'll see where I get by Monday. Regards, Peter On 4/7/17, 7:41 AM, "Peter Ent" wrote: >I see that. I thought I fixed that. I'll look it while I'm building the >examples. >‹peter > >On 4/6/17, 5:

Re: [FlexJS] feature/chart_work status

2017-04-07 Thread Peter Ent
Thanks. I'm having trouble understanding what code is changing the active tab panel. I can see in the DOM, a tab with is-active set and a corresponding tab panel has is-active set. After I add a new tab, things look normal in the DOM. I can now select the new tab and see that the new tab gets is-a

Re: git commit: [flex-asjs] [refs/heads/feature/chart-work] - Updates to MDL.

2017-04-09 Thread Peter Ent
I don't need to have DataProviderChangeNotifier do what I made it do. I was thinking that using the same event was causing the problem in the MDL tabs because that event causes all of the item renderers to be thrown away. ‹peter On 4/9/17, 9:47 AM, "piotrz" wrote: >Peter, > >I just tested your

Re: [FlexJS] feature/chart_work status

2017-04-10 Thread Peter Ent
I will look into it and let you know. I changed the life cycle for lists just a little. I found that the item renderers were being created more than once (sometimes) and the layouts were being run several times (sometimes) so I tracked down redundant event dispatches and eliminated them. Then I wen

Re: [FlexJS] feature/chart_work status

2017-04-10 Thread Peter Ent
I know have MDLExample working. I think I did this unwittingly: The MaterialDesignLite project's default.css has the IDateProviderItemRendererMapper for the Tabs and TabBar components specified as TabsItemRendererFactoryForArrayListData. But the dataProvider being supplied to the tab components we

Re: [FlexJS] feature/chart_work status

2017-04-10 Thread Peter Ent
as best I can. Regards, Peter On 4/10/17, 9:44 AM, "Peter Ent" wrote: >I know have MDLExample working. > >I think I did this unwittingly: The MaterialDesignLite project's >default.css has the IDateProviderItemRendererMapper for the Tab

Re: [FlexJS] feature/chart_work status

2017-04-10 Thread Peter Ent
desirable thing ;-) > >Chris > > >Am 10.04.17, 20:40 schrieb "Peter Ent" : > >I now have the feature/chart-work branch in good shape: the frameworks >projects build and so do all of the examples; both ANT and maven >builds >ran. I'm much, much more

[FlexJS] Merge feature into develop

2017-04-11 Thread Peter Ent
. Regards, Peter Ent Adobe Systems/Apache Flex Project

[FlexJS] Layouts

2017-04-13 Thread Peter Ent
Hi, I just pushed feature/layouts branch for your consideration. The changes in this branch affect how layouts are run. I moved code from GroupView into LayoutBase, making layouts more autonomous. That is, layouts now listen for the events they need rather than relying on GroupView to listen fo

Re: [FlexJS] Layouts

2017-04-14 Thread Peter Ent
that done I will work on updating the Wiki. Thanks, Peter On 4/13/17, 12:06 PM, "Peter Ent" wrote: >Hi, > >I just pushed feature/layouts branch for your consideration. The changes >in this branch affect how layouts are run. I moved code from GroupView >into LayoutBase,

[FlexJS] Examples

2017-04-15 Thread Peter Ent
current, just something we can use for examples of HTTPService. Barring that, if anyone knows another source of data (Apache license compatible) that would be interesting in an example, please share and perhaps we can make an example around it. Thanks, Peter Ent Adobe Systems/Apache Flex Project.

Re: [FlexJS] Layouts

2017-04-16 Thread Peter Ent
The merge is complete. Alex is doing something big too but I am done. We should put together a task list for a proper release. I think some renaming/refacotoring is in order as well as documentation. Peter > On Apr 15, 2017, at 12:43 PM, piotrz wrote: > > Hi Peter, > > I'm following and c

Re: [FlexJS] Examples

2017-04-17 Thread Peter Ent
> >> We should ask Apache Infra Š they have several streams of publically >> available data. Not financial data, but stuff we could display. >> >> Chris >> >> Am 15.04.17, 14:36 schrieb "Peter Ent" : >> >> Hi, >> >> A cou

Re: [4/6] git commit: [flex-asjs] [refs/heads/develop] - replace existing format bead if it exists

2017-04-18 Thread Peter Ent
It is supposed to work like this: A: You may have zero or more beads defined inline in MXML for your component using property. B: You may have zero or more beads defined in CSS for your component. When addElement is called on your component, it will add the underlying element to the display lis

Re: [FlexJS] Examples

2017-04-21 Thread Peter Ent
ata=02%7C01%7C%7Ca55b41534c114adcef4808d485b18254%7Cfa7b1b5a7b34438794a >>e >>d2c178decee1%7C0%7C0%7C636280444823641555&sdata=PSX2eoGfTUEG4Uhag8Cheala7 >>a >>tUJquzmxnt1jPygo8%3D&reserved=0 >>ce.quotes%20where%20symbol%20in%20(%22YHOO%22)&format=json&env=

[FlexJS] Table

2017-04-21 Thread Peter Ent
Hi, I've just committed/pushed a new FlexJS component (and its helpers) to the HTML project. It is the component. I saw that there were JS-only fragments of Table present and decided to make an official SWF/JS version. The idea is to create a clean HTML structure and mimic it in the Flash Pl

[FlexJS] FlexJS Wiki Update

2017-04-23 Thread Peter Ent
Hi, I've added a new page to the FlexJS Wiki[1] and updated a few other pages to reflect the changes I've made over the last couple of weeks. —peter [1] https://cwiki.apache.org/confluence/display/FLEX/FlexJS+Container+Classes+and+Layouts

Re: [FlexJS] Table

2017-04-23 Thread Peter Ent
I would imagine a DataTable would be what you are suggesting. Peter > On Apr 22, 2017, at 6:09 AM, piotrz wrote: > > Hi Carlos! > > +1 for this :) > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: > https://na01.safelinks.protect

Re: [FlexJS] FlexJS Wiki Update

2017-04-24 Thread Peter Ent
Hi, I've placed my answers in-line. On 4/24/17, 4:17 AM, "OK" wrote: >Hi Peter, >thanks for this! >I probably not yet understand the whole story but it's a great entry >point. > >Would be great if you could answer some questions that come to my mind: > >1) >Group vs Container: >Does it mean tha

Re: [FlexJS] FlexJS Wiki Update

2017-04-24 Thread Peter Ent
I've run MDLExample and it looks like to works to me. Give it a run with the latest from develop branch and let us know. I tried to make sure the MDL project was updated to reflect the changes I made to the Core and HTML projects. ‹peter On 4/24/17, 8:25 AM, "yishayw" wrote: &

Re: [FlexJS] Layouts

2017-04-25 Thread Peter Ent
This is still a little bit of a conundrum. Automatically setting position:absolute when setting x and y (effectively left and top styles) runs into several problems as you can imagine. One issue is that you have to make sure the parent container's position is either relative or absolute, otherwise

Re: [FlexJS] Layouts

2017-04-25 Thread Peter Ent
} And still programmatically position them using .x and .y properties. The Flash side will work as intended and now the JS side should as well. ‹peter On 4/25/17, 9:06 AM, "yishayw" wrote: >Peter Ent wrote >> I first encourage you to base any new components on Group and

Re: [FlexJS] Layouts

2017-04-25 Thread Peter Ent
Perhaps I am not understanding this. You create a control component extending UIBase. You create your view bead extending AbsolutePositioningViewBase. This bead makes sure that the strand/host has position:relative set. So how do you set position:absolute on each of the control's parts? Setting p

Re: [FlexJS] Layouts

2017-04-26 Thread Peter Ent
es in your control's size. —peter On 4/25/17, 4:47 PM, "Alex Harui" wrote: > > >On 4/25/17, 12:35 PM, "Peter Ent" wrote: > >>Perhaps I am not understanding this. >> >>You create a control component extending UIBase. You create your

Re: [FlexJS] Status of Slider and NumericStepper?

2017-04-29 Thread Peter Ent
NumericStepper must not have been finished for some reason. Or perhaps the view bead was operating (at some point in time) on both the JS and SWF sides. The NumericStepperView bead is now in a COMPILE::SWF block. This is one of those cases where there *may be* enough overlap with the SWF and JS si

Re: [FlexJS, MDL] Null Pointer Exception in HorizontalFlexLayout

2017-05-01 Thread Peter Ent
Hi Piotr, I mostly understand. It seems like the child is not UIBase so it is null, at least in one of the cases. The layout code should be changed to check for null and skip that child. Can you see if that helps? ‹peter On 5/1/17, 8:35 AM, "piotrz" wrote: >Hi Peter, > >During creation of Dro

[FlexJS] Layout Issue/Change

2017-05-01 Thread Peter Ent
Hi, My main goal of the recent set of changes to containers and layouts was to make the HTML/CSS/JS side as minimal as possible, letting the browser and friends take care of things as much as possible. For the most part, I think it works. But there is an issue that has been bothering me. Righ

Re: [FlexJS] Layout Issue/Change

2017-05-01 Thread Peter Ent
The current listeners in LayoutBase (Basic Project) are for the children of a component. Right now, if you have a Group with 10 buttons and VerticalLayout, and you resize one of those buttons, LayoutBase/VerticalLayout will detect that and automatically re-run the VerticalLayout algorithm. What I

Re: [FlexJS, MDL] Null Pointer Exception in HorizontalFlexLayout

2017-05-01 Thread Peter Ent
OK. I will look at the other layouts and probably do the same for them where it makes sense. On 5/1/17, 10:06 AM, "piotrz" wrote: >Thank you Peter. That helped. I was thinking about such solution, but >wasn't >sure whether it won't break anything. If I'm thinking more about that it >makes sense

Re: [FlexJS] Layout Issue/Change

2017-05-02 Thread Peter Ent
I'm trying to find the balance between PAYG and mimicking the HTML/JS/CSS side on the SWF side. Take HorizontalLayout for example. On the JS side, this layout waits for "childrenAdded" and then changes each child's display style to "inline-block". If you then programmatically change one child's wi

Re: git commit: [flex-asjs] [refs/heads/develop] - Added example of building a Table from a data source to the TableExample example.

2017-05-03 Thread Peter Ent
/na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u >>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fdiff%2F336fac64&data=02%7C01%7C% >>7C973eb1da47de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0 >>%7C0%7C636293580155655469&sdata=cemmUkVwsZERSGDQVIUoxnIc

Re: [FlexJS] Layouts

2017-05-03 Thread Peter Ent
control, position them using setAbsolutePosition() and do so in >response to changes in your control's size. > >—peter > > > >On 4/25/17, 4:47 PM, "Alex Harui" wrote: > >> >> >>On 4/25/17, 12:35 PM, "Peter Ent" wrote: >> &

Re: git commit: [flex-asjs] [refs/heads/develop] - Added AbsolutePositioningViewBeadBase so control components can position their sub-elements using absolute positioning.

2017-05-03 Thread Peter Ent
look.com/?url=http%3A%2F%2Fgit-wip-u >>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fdiff%2F88f0bcbe&data=02%7C01%7C% >>7Cb4705bba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0 >>%7C0%7C636294286433550282&

Re: [FlexJS] Layouts

2017-05-05 Thread Peter Ent
Maybe MDL should have its own set of layouts and layout-compliant interfaces. Opinions? ‹peter On 5/5/17, 2:15 AM, "piotrz" wrote: >Hi Peter, > >I have found one scenario where there is a null pointer exception, but I'm >not sure whether even we should cover such case. Let me know what do you >t

Re: [FlexJS] Layouts

2017-05-05 Thread Peter Ent
Well, the LayoutBase assume's the host/strand implements ILayoutParent and provides the ILayoutHost. The ILayoutHost then provides the ILayoutView. These can all be the same thing. The layouts in Basic assume the items being laid out are ILayoutChild compliant. So if MDL components followed that p

Re: [FlexJS] CSS Pruning

2017-05-15 Thread Peter Ent
The reason for .DataGridListArea is that the SWF side does not recognize a selector of: DataGrid Container { ... } So I gave the Container used for the list area a class name. Perhaps I can try to change it to a type name and see if that's more helpful and if so look at replacing as many speci

Re: Moonshine 1.4.0 Release

2017-05-16 Thread Peter Ent
) and then offered to delete itself, which I did. This left my Downloads folder in its original condition (which is currently empty). So I'm not really sure this part of the set up worked. Regards, Peter Ent Adobe Systems/Apache Flex Project On 5/15/17, 4:30 PM, "JoelProminic" wrote:

Re: [ApacheCon/FlexJS Summit] FlexJS 1.0 Discussion Round - Summary

2017-05-21 Thread Peter Ent
The FlexJS Storage package address some storage concerns. It provides file handling when run via AIR and on mobile devices via Cordova. Since there are sandboxing issues with the Flash Player, I'm not sure what else we can do there besides local storage. ‹peter On 5/21/17, 7:25 AM, "PKumar" wrot

Re: [ApacheCon/FlexJS Summit] FlexJS 1.0 Discussion Round - Summary

2017-05-22 Thread Peter Ent
m and adding file type filter on selection. Also no way to open > FileSave dialogue box. > > On 21-May-2017 7:18 PM, "Peter Ent-2 [via Apache Flex Development]" < > ml+s247n61714...@n4.nabble.com> wrote: > >> The FlexJS Storage package address some storage con

Re: [ApacheCon/FlexJS Summit] FlexJS 1.0 Discussion Round - Summary

2017-05-25 Thread Peter Ent
to become official FlexJS contributer? Please suggest. > > >On 22-May-2017 5:50 PM, "Peter Ent-2 [via Apache Flex Development]" < >ml+s247n61737...@n4.nabble.com> wrote: > >> The Storage package is definitely incomplete. We should address access >> from

Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-26 Thread Peter Ent
Just an FYI: I'm trying to fix a bug in Mobile project with the Camera class. I am hoping to wrap it up today. Regards, Peter >

Re: [FlexJS] Accordion broken

2017-05-30 Thread Peter Ent
I am looking into it. I will also create an example for Accordion so it will be easier to test it in the future. ‹peter On 5/30/17, 6:39 AM, "Harbs" wrote: >It seems like the new layouts totally broke Accordion. > >Accordion relied on absolute sizing to handle expanding and collapsing of >conten

Re: [FlexJS] Accordion broken

2017-05-30 Thread Peter Ent
Hi, Do you have a quick example of how to use the FlexJS Accordion? The ASDoc on it is thin. The children of the Flex SDK Accordion were navigation components that supported things like title so each section could be labeled. I don't see an AccordionChild or something similar that can be used with

Re: [FlexJS] Accordion broken

2017-05-30 Thread Peter Ent
>> >> >> This is the markup of an Accordion which used to work, which doesn’t >>anymore. >> >> >> >> >> >> >> >>

Re: [FlexJS] Accordion broken

2017-05-31 Thread Peter Ent
>> >> >> >> This is the markup of an Accordion which used to work, which doesn’t >>anymore. >> >> >> >> >> >> >> >> >> >> >> >> >> >>>

Re: [FlexJS] Accordion broken

2017-06-01 Thread Peter Ent
though. And switching to selection >rather than checking collapsed might make sense as well. > >Thanks for working on this. > >> On May 31, 2017, at 7:47 PM, Peter Ent wrote: >> >> I'm still working on this and ran into a couple of issues. >> >>

Re: [FlexJS] Accordion broken

2017-06-01 Thread Peter Ent
I've checked in my changes to the Accordion components. It still is not working correctly and I cannot figure out what is happening. The used as the data to the Accordion are being placed as children of AccordionItemRenderers which are themselves Panels. So there are two TitleBars present per Acco

Re: [FlexJS] Accordion broken

2017-06-02 Thread Peter Ent
Hi, It looks like this is the last thing to be resolved before we can make FlexJS 0.8 release. I'm seeing two title bars per item in the Accordion. Any suggestions for how to resolve this, based on the information I've given below? Thanks, Peter On 6/1/17, 3:49 PM, "Peter Ent&

Re: [FlexJS] Accordion broken

2017-06-04 Thread Peter Ent
Thanks. I'll look into this today if I get a chance and definitely tomorrow. Peter > On Jun 4, 2017, at 6:05 AM, yishayw wrote: > > Here's [1] an example app. > > The 2 problems I see: > > 1) DataBinding problems [2] cause titles to be undefined. I hacked a fix on > TLF branch, but this sh

Re: [FlexJS] Accordion broken

2017-06-05 Thread Peter Ent
the children. >>> >>> It turns out the children are actually Containers which have a >>>TitleBarModel bead. Sorry about the confusion. It might make sense to >>>have an interface for an accordion-compatible container. >>> >>> We will put together an e

Re: [FlexJS] List

2017-06-05 Thread Peter Ent
That had to be accidental. I see in defaults.css that List has a Viewport rather than ScrollingViewport. Just change that and lists should default to scrolling. Need to watch the DataGrid because its lists should not scroll - they just grow and the enclosing container scrolls them all together. ‹

<    1   2   3   4   5   6   7   >