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

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

[FlexJS] feature/chart_work status

2017-04-06 Thread Peter Ent
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

[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: [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

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

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"

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:

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

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

Re: [FlexJS] Examples

2017-04-17 Thread Peter Ent
fra Š 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" <p...@adobe.com>: >> >> Hi, >> >> A couple of examples

[FlexJS] Examples

2017-04-15 Thread Peter Ent
to be 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

[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

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

[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: >

[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

Re: [FlexJS] Examples

2017-04-21 Thread Peter Ent
2520yahoo.fina >>n >>=02%7C01%7C%7Ca55b41534c114adcef4808d485b18254%7Cfa7b1b5a7b34438794a >>e >>d2c178decee1%7C0%7C0%7C636280444823641555=PSX2eoGfTUEG4Uhag8Cheala7 >>a >>tUJquzmxnt1jPygo8%3D=0 >>ce.quotes%20where%20symbol%20in%20(%22YHOO%22)=json=st

Re: [FlexJS] Panel

2017-03-09 Thread Peter Ent
The idea of "chrome" is that these are components that do not count as regular children and have special locations within the component. The TitleBar and ControlBar are considered chrome because if you ask for the children of the Panel, they are not listed and if you have so many children in the

[FlexJS] Panel

2017-03-09 Thread Peter Ent
ive, Panel can be re-constructed to look as it does now without the use of chrome simply by using Group for the Panel itself and Group for the TitleBar and ControlBar and a Container with a ScrollingViewport for the content. Please let me know your thoughts. Thanks, Peter Ent Adobe Systems/Apache Flex Project

Re: [FlexJS] Panel

2017-03-09 Thread Peter Ent
The way things are set up right now, due to the nesting of containers (div or DisplayObjectContainer), you do get (0,0) at the top. It will usually be necessary to have nested containers for scrolling purposes if nothing else. As I'm going through the code, I don't see that IChrome is actually

Re: [FlexJS] Coordinate Space

2017-03-03 Thread Peter Ent
ssues once complete. Regards, Peter On 3/2/17, 9:37 AM, "Peter Ent" <p...@adobe.com> wrote: >We still have to have FlexJS work on both JS and SWF sides with some >compatibility. We could do this: > >x,y sets "native" values. Reading them back on SWF vs

[FlexJS] Group container

2017-03-06 Thread Peter Ent
to be based on Group rather than Container which will also eliminate another layer. Please give Group a test if you can. Thanks. Peter Ent Adobe Systems/Apache Flex Project

Re: git commit: [flex-asjs] [refs/heads/develop] - Introducing the Group container.

2017-03-07 Thread Peter Ent
asjs/repo >> Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/79d45cba >> Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/79d45cba >> Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/79d45cba >> >> Branch: refs/heads/develop >>

Re: [FlexJS] Group container

2017-03-07 Thread Peter Ent
This is the theory, yes. A way to do your own thing using AS and MXML to construct the app which then generates the right amount of HTML structure, making it easier to style. Or use pre-built constructions and layouts as templates that also generate the right amount of HTML structure. I'm

Re: [FlexJS] Group container

2017-03-07 Thread Peter Ent
>component classes is such important thing and first point not only in your >effort of create a good layout strategy, but an important previous step if >we want to implement theming in FlexJS. > >Great! :D > >Carlos > > >2017-03-07 14:23 GMT+01:00 Peter Ent <p...@adobe.com&

Re: [FlexJS] Group container

2017-03-07 Thread Peter Ent
implementing IChrome interface) or should it just be for scrollable content? Thanks, Peter On 3/7/17, 10:31 AM, "Peter Ent" <p...@adobe.com> wrote: >Thanks for the feedback! > >As I go through the examples, I see that we (mostly me) created a number >of nested elements, suc

Re: [FlexJS] Coordinate Space

2017-03-01 Thread Peter Ent
> >For the Flex-like components in Basic, we could make everything always use >absolute positioning. And Container would have a more Flex-like >coordinate space. Don't know if that would help or not. > >Thoughts? >-Alex > >On 3/1/17, 7:28 AM, "Peter Ent&

[FlexJS] Coordinate Space

2017-02-28 Thread Peter Ent
e padding on its Container parent. Right now Container has this inner contentArea that tries to make sure testButton is (0,0) but it is a headache to maintain, I think. [1] https://paste.apache.org/IM1W Regards, Peter Ent Adobe Systems/Apache Flex Project

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

Re: [FlexJS] feature/chart_work status

2017-04-07 Thread Peter Ent
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" <p...@adobe.com> 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:55 PM, "piotr

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

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" <p...@adobe.com> 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 >

Re: [FlexJS] ClippingViewport

2017-07-30 Thread Peter Ent
I must have forgotten to delete that. Peter > On Jul 30, 2017, at 7:20 AM, Harbs wrote: > > Is anyone using ClippingViewport? > > It seems to be extraneous at this point. Viewport does clipping by default. > > Thanks, > Harbs

Re: [FlexJS] findPopupHost issue

2017-07-20 Thread Peter Ent
I'm taking a look at this. Would you mind filing a JIRA on this? Thanks, Peter On 7/19/17, 1:23 PM, "PKumar" wrote: >​Panel , close event not firing on JS side. swf side it is working fine. >This may be an issue.​ > >On Wed, Jul 19, 2017 at 11:00 PM, Prashant Kumar

Re: [FlexJS] findPopupHost issue

2017-07-20 Thread Peter Ent
its strand. —peter On 7/20/17, 1:45 PM, "Peter Ent" <p...@adobe.com.INVALID> wrote: >I'm taking a look at this. Would you mind filing a JIRA on this? > >Thanks, >Peter > >On 7/19/17, 1:23 PM, "PKumar" <prashaku...@gmail.com> wrote: > >>​P

Re: [FlexJS] findPopupHost issue

2017-07-21 Thread Peter Ent
I needed events to bubble for the drag and drop work. While that was fine for the Flash Player, the FlexJS/Google/Browser event mix didn't work. Alex suggested I used setParentTarget on the event to work up the tree and then the event would be dispatched at each level, thus mimicking bubbling. I

[FlexJS] MouseEvent

2017-07-25 Thread Peter Ent
: flexJSMouseEvent.screenX = swfMouseEvent.stageX; JS: flexJSMouseEvent.screenX = jsMouseEvent.pageX; Thanks. Peter Ent Adobe Systems/Apache Flex Project

Re: [FlexJS] MouseEvent

2017-07-25 Thread Peter Ent
out my browser-event branch for my attempt to make MouseEvents and >KeyboardEvents behave the way you¹d expect. > >I¹m currently struggling with figuring out how to make artificially >created MouseEvents behave properly. Maybe we should compare notesŠ > >Harbs > >> On Jul 2

Re: [FlexJS]TileLayout

2017-07-24 Thread Peter Ent
I just left things as open as possible as I recall. Thanks Harbs. On 7/23/17, 6:06 AM, "Harbs" wrote: >Agreed, but I think the defaults should match Flash between and HTML. > >He did not set stretch. Nothing was set. ³stretch² is the default css. > >> On Jul 23, 2017, at

[FLEXJS] ASDoc Issues

2017-06-30 Thread Peter Ent
I'm running the asdoc target in flex-asjs and it has rejected a couple of things in Core/main/flex/Promise.as such as: [asdoc] /Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/Promise.as(270): col: 19 Error: Syntax error: expecting identifier before catch. [asdoc]

Re: [FLEXJS] ASDoc Issues

2017-06-30 Thread Peter Ent
doc target for now. Also, it looks like the ASDoc example uses >its own asdic-config.xml file in its src/main/config folder. > >-Alex > >On 6/30/17, 10:25 AM, "Peter Ent" <p...@adobe.com.INVALID> wrote: > >>I'm running the asdoc target in flex-asjs and

Re: [FlexJS,TLF] Tlf branch and Maven build

2017-06-27 Thread Peter Ent
I just added something to TLF branch, in the DragDrop project. There is now a dependency on Collections; does a pom file need to be changed to reflect that or is the compile-swf-config file enough? ‹peter On 6/27/17, 4:41 PM, "Alex Harui" wrote: >I had to update some

Re: [FlexJS] Layouts

2017-04-26 Thread Peter Ent
rol's size. —peter On 4/25/17, 4:47 PM, "Alex Harui" <aha...@adobe.com> wrote: > > >On 4/25/17, 12:35 PM, "Peter Ent" <p...@adobe.com> wrote: > >>Perhaps I am not understanding this. >> >>You create a control component extending UIBas

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

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

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

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,

Re: [FlexJS] Layouts

2017-04-25 Thread Peter Ent
ill 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" <yishayj...@hotmail.com> wrote: >Peter Ent wrote >> I first encourage you to base any new compone

Re: [FlexJS] FlexJS Wiki Update

2017-04-24 Thread Peter Ent
.@hotmail.com> wrote: >Peter Ent wrote >>>4) >>>Could we compose/use the container and layout classes with any FlexJS >>>component set, including MDL? >> >> A number of the MDL "container" classes are based on the HTML Group (I >> d

Re: FlexJS Express Components

2017-08-07 Thread Peter Ent
You make good points. The Express package is in its infancy. I packaged things together that were, I felt, the most common combinations, such as all Views and Container classes have data binding. This also means Containers have scrolling with the idea that you would use Group if you did not want

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
tion.outlook.com/?url=http%3A%2F%2Fgit-wip-u >>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fdiff%2F336fac64=02%7C01%7C% >>7C973eb1da47de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0 >>%7C0%7C636293580155655469=cemmUkVwsZERSGDQVIUoxnIcJAtm8AetP4cTbcyOj >>FE%3D=0 >> >> Branch: re

Re: [FlexJS] Layouts

2017-05-03 Thread Peter Ent
our 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" <aha...@adobe.com> wrote: > >> >> >>On 4/25/17, 12:35 PM, "Peter Ent&q

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
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fdiff%2F88f0bcbe=02%7C01%7C% >>7Cb4705bba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0 >>%7C0%7C636294286433550282=KH7zotCmcVuj7GLuKHa20cUYCxh189IeobJk%2FLK >&

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

Re: Moonshine 1.4.0 Release

2017-05-16 Thread Peter Ent
sure what) 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" <j...@prom

Re: [2/4] git commit: [flex-asjs] [refs/heads/develop] - LayoutBase Fix for strand set to null in remove bead, plus performance improvements in js

2017-06-12 Thread Peter Ent
Maybe I'm misunderstanding again. This is what a developer should do so that the contents of the panel are laid out horizontally. I constructed Panel as a subclass of Group so that I could take advantage of VerticalFlexLayout so that Container content area of the Panel would grow to

Re: [FlexJS] more on undefined / non initialised values

2017-06-12 Thread Peter Ent
Perhaps we can look to other languages for guidance. For example, in Swift: var val:Boolean is illegal. It MUST be initialized or declared to be optional: var val:Boolean = false var val:Boolean? The Swift people felt that leaving variables uninitialized and defaulted caused too many issues

Re: [VOTE] Release Apache FlexJS 0.8.0 RC1

2017-06-12 Thread Peter Ent
I tried the approval XML script. +1 Package https://dist.apache.org/repos/dist/dev/flex/flexjs/0.8.0/rc1/apache-flex-fl exjs-0.8.0-src.tar.gz Java 1.7 OS: Mac OS X x86_64 10.12.5 Source kit signatures match: y Source kit builds: y README is ok: y RELEASE_NOTES is ok: y NOTICE is ok: y LICENSE is

Re: [FlexJS] getElementIndex()

2017-06-22 Thread Peter Ent
I was wondering why React keeps its own DOM and why it is so fast. Perhaps this is the reason. On 6/22/17, 10:56 AM, "Alex Harui" wrote: >Feel free to test your theory. It sounds like duplication of work to me >as in: The DOM does have some sort of list so why keep

Re: [FlexJS] TileLayout

2017-06-22 Thread Peter Ent
You could write a new TileLayoutWithGapAndPadding to handle that specific situation. On the JS side, TileLayout uses Flexbox and perhaps you need more control. ‹peter On 6/22/17, 10:14 AM, "yishayw" wrote: >Adding margins adds a gutter on the right side of the host.

Re: [FlexJS] TileLayout

2017-06-22 Thread Peter Ent
Hi, Use margins on the items. ‹peter On 6/22/17, 9:48 AM, "yishayw" wrote: >What is the preferred way to set gaps between columns and between rows? > > > >-- >View this message in context: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle

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: [ApacheCon/FlexJS Summit] FlexJS 1.0 Discussion Round - Summary

2017-05-22 Thread Peter Ent
y file from > file system 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 pa

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"

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

2017-05-25 Thread Peter Ent
ocess 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 >> f

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

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

Re: [FlexJS] Accordion broken

2017-05-30 Thread Peter Ent
>> >> >> >> >> >> >>> On May 30, 2017, at 4:54 PM, Peter Ent <p...@adobe.com.INVALID> wrote: >>&g

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" <p

Re: [FlexJS] Layout of NumericStepper is broken

2017-06-05 Thread Peter Ent
I'm looking into it. The SWF and JS versions are different. There's a border around it, which is specified in the defaults.css. I'm not sure why that is there; maybe I put it there awhile ago I just don't remember. It looks better without it. The SWF version, for me, has some extra graphics in

Re: [FlexJS] Accordion broken

2017-06-05 Thread Peter Ent
compatible container. >>> >>> We will put together an example which should work better in the >>>morning. >>> >>> I cannot test my app which uses the Accordion right now because >>>Promise is currently broken (like I wrote in my other em

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.

Re: [FlexJS] Accordion broken

2017-06-01 Thread Peter Ent
yout might make sense 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 <p...@adobe.com.INVALID> wrote: >> >> I'm still working on this and ran

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

Re: [FlexJS] Layout of NumericStepper is broken

2017-06-06 Thread Peter Ent
I found the problem: the NumericStepper's sizeChange handler was not being called when the NS appears in this simpler test case. It is being called when it is displayed in the FlexJSStore, for example. The more complex app with nested containers and layouts is setting the right conditions so the

Re: [FlexJS] List

2017-06-05 Thread Peter Ent
know whether I should change defaults.css in Basic. It sounds >like you are saying yes. > >> On Jun 5, 2017, at 5:25 PM, Peter Ent <p...@adobe.com.INVALID> wrote: >> >> That had to be accidental. I see in defaults.css that List has a >>Viewport >> ra

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

Re: [2/2] git commit: [flex-asjs] [refs/heads/release0.8.0] - fix event types for valuechange. Otherwise Binding would break. Events are global and should be compatible for any given event type

2017-06-07 Thread Peter Ent
I don't think PAYG is always obvious and I continue to struggle with the question. Some examples: a. Anything that can be expressed as a style probably does not need a bead, unless the style is not native to the platform. Border and backgroundColor are good examples. These are built into HTML,

Re: Beads and DRY (was Re: [FlexJS] Removing PasswordInputBead has no effect)

2017-06-07 Thread Peter Ent
If you look at the layouts, you can see these questions for real. Take VerticalLayout. The idea is to stack children of some component vertically. Those children can be given a) no explicit size, b) an explicit size as pixel values, c) a percentage size. You know what the VerticalLayout is

Re: Beads and DRY (was Re: [FlexJS] Removing PasswordInputBead has no effect)

2017-06-07 Thread Peter Ent
We have never really discussed the use of delegates. Its not something that ties in that well with FlexJS I think. But using a delegate to off-load some of the work, just when that work is needed, might be another solution. ‹peter On 6/7/17, 2:36 AM, "Harbs" wrote:

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

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

[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.

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

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

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

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] Layout of NumericStepper is broken

2017-06-06 Thread Peter Ent
OK, thanks. I'm looking at this now (as soon as my sync of Alex's changes completes). ‹peter On 6/6/17, 3:17 AM, "piotrz" wrote: >Peter, > >I just raised jira -> >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.ap

Re: home.apache.org

2017-09-13 Thread Peter Ent
apache.org > >Hope you remember your passphrase. > >-Alex > >On 9/13/17, 9:16 AM, "Peter Ent" <p...@adobe.com.INVALID> wrote: > >>Hi, >> >>Does anyone have the instructions on how to set up access to your >>home.apache.org space? I'v

Re: home.apache.org

2017-09-13 Thread Peter Ent
hope it works when I get back. —peter On 9/13/17, 1:22 PM, "Mark Thomas" <ma...@apache.org> wrote: >On 13/09/2017 18:05, Peter Ent wrote: >> I get permission denied (public key). I remember having to set up >> something for the old people site (I think) and h

Re: [VOTE] What should be the new Project Name for Proposed fork of FlexJS?

2017-09-18 Thread Peter Ent
1) Royale (binding) 2) Braid ‹peter ent On 9/17/17, 3:19 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote: >Hi, > >In this thread I've gathered list of names proposition for fork of FlexJS >project. > >LIST: > >Royale >Boja >Strand >Bead &g

Re: [DISCUSS] Name of the FlexJS Fork

2017-09-19 Thread Peter Ent
I'm inclined to favor "Braid" over Limber (however you want to spell it) because I can think of too many puns associated with Limber and the first thing that comes to mind, for me, is cheese that smells. I don't remember how to pronounce "Borja" and while English always seems to dominate,

Re: [DISCUSS] Name of the FlexJS Fork

2017-09-19 Thread Peter Ent
I swear all the good names are already taken. I think we just need to throw letters into a box and shake them at this point. ‹peter On 9/19/17, 3:48 PM, "Harbs" wrote: >Helix is nice. > >Possible conflict:

Re: Royale is now an Apache Project

2017-09-21 Thread Peter Ent
1) royale-asjs just so we can expand later if needed. I like royale-compiler. 2) Let's get off of SVN! ‹peter On 9/21/17, 11:42 AM, "Alex Harui" wrote: >We have to decide a few more things for setup: > >1) our current repos are named flex-asjs, flex-typedefs, etc. I

Re: home.apache.org

2017-09-13 Thread Peter Ent
. Maybe that's not a real PGP key. I looked up PGP for the Mac and found GPG Keychain which it says makes OpenPGP keys. Just very confused. —peter On 9/13/17, 3:15 PM, "Mark Thomas" <ma...@apache.org> wrote: >On 13/09/17 19:27, Peter Ent wrote: >> Thanks, Mark. >> >

<    1   2   3   4   5   6   7   >