Re: [FlexJS Summit] Preparing the schedule

2017-05-03 Thread OK
Hi,
I can not found any talk descriptions nor a link to the FlexJS summit
landing page when coming from the ApacheCon schedule site [1]
To get as much attention as possible it might be also helpful to introduce
FlexJS with one or two sentences at each talk description.

Let me know if I can help to fix this...

I'll register this week for ApacheCon, so I'm looking forward to seeing you
in Miami :-)

Olaf




[1]
http://events.linuxfoundation.org/events/apachecon-north-america/program/schedule



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Summit-Preparing-the-schedule-tp59477p61492.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Build failed in Jenkins: flex-asjs #2226

2017-05-03 Thread Alex Harui
The checkintests are not building.  It worked for me locally until I
deleted all of the old JS files, then I was able to reproduce it.
Hopefully I just got it to work.  I'm not sure that the Maven build runs
the checkintests.

-Alex

On 5/3/17, 12:29 PM, "Piotr Zarzycki"  wrote:

>I'm wondering why this is still failing. Maven is nicely building and pick
>up last Alex's changes related to this, but with Ant is something wrong.
>
>Piotr
>
>2017-05-03 21:25 GMT+02:00 :
>
>> See 
>>>exbuild.cloudapp.net%3A8080%2Fjob%2Fflex-asjs%2F2226%2Fchanges=02%7C
>>01%7C%7C24cdaa7ad5e849aaed8008d4925aacd5%7Cfa7b1b5a7b34438794aed2c178dece
>>e1%7C0%7C0%7C636294365523646554=HAVAr%2B3o1VV3AymC1xbMxn1RZrdjZLOlU
>>gcxK2uCRrc%3D=0>
>>
>> Changes:
>>
>> [pent] Changed the TableExample's DataTable component to dispatch
>> "dataTableComplete" rather than "initComplete" since that was already
>>being
>> dispatched earlier.
>>
>> [pent] Added AbsolutePositioningViewBeadBase so control components can
>> position their sub-elements using absolute positioning.
>>
>> --
>> [...truncated 7402 lines...]
>> [mxmlc] Compiling file: > cloudapp.net:8080/job/flex-asjs/ws/mustella/tests/
>> basicTests/bin/js-debug/halo/views/ButtonTests.js>
>> [mxmlc] halo.views.ButtonTests as: []
>> [mxmlc] halo.views.ButtonTests mxml:
>>[org.apache.flex.html.TextButton,
>> org.apache.flex.html.Label, halo.views.ButtonTests, shim.VBox,
>> org.apache.flex.events.MouseEvent]
>> [mxmlc] Compiling file: > cloudapp.net:8080/job/flex-asjs/ws/mustella/tests/
>> basicTests/bin/js-debug/halo/views/CheckBoxTests.js>
>> [mxmlc] halo.views.CheckBoxTests as: []
>> [mxmlc] halo.views.CheckBoxTests mxml:
>>[org.apache.flex.html.CheckBox,
>> halo.views.CheckBoxTests, shim.VBox]
>> [mxmlc] originalPath: goog/array/array.js
>> [mxmlc] originalPath: goog/asserts/asserts.js
>> [mxmlc] originalPath: goog/base.js
>> [mxmlc] originalPath: goog/bootstrap/nodejs.js
>> [mxmlc] originalPath: goog/debug/entrypointregistry.js
>> [mxmlc] originalPath: goog/debug/error.js
>> [mxmlc] originalPath: goog/deps.js
>> [mxmlc] originalPath: goog/disposable/disposable.js
>> [mxmlc] originalPath: goog/disposable/idisposable.js
>> [mxmlc] originalPath: goog/dom/nodetype.js
>> [mxmlc] originalPath: goog/events/browserevent.js
>> [mxmlc] originalPath: goog/events/browserfeature.js
>> [mxmlc] originalPath: goog/events/event.js
>> [mxmlc] originalPath: goog/events/eventid.js
>> [mxmlc] originalPath: goog/events/events.js
>> [mxmlc] originalPath: goog/events/eventtarget.js
>> [mxmlc] originalPath: goog/events/eventtype.js
>> [mxmlc] originalPath: goog/events/listenable.js
>> [mxmlc] originalPath: goog/events/listener.js
>> [mxmlc] originalPath: goog/events/listenermap.js
>> [mxmlc] originalPath: goog/labs/useragent/browser.js
>> [mxmlc] originalPath: goog/labs/useragent/engine.js
>> [mxmlc] originalPath: goog/labs/useragent/platform.js
>> [mxmlc] originalPath: goog/labs/useragent/util.js
>> [mxmlc] originalPath: goog/object/object.js
>> [mxmlc] originalPath: goog/reflect/reflect.js
>> [mxmlc] originalPath: goog/string/string.js
>> [mxmlc] originalPath: goog/useragent/useragent.js
>> [mxmlc] sorted filename: bootstrap/nodejs.js
>> [mxmlc] sorted filename: base.js
>> [mxmlc] sorted filename: deps.js
>> [mxmlc] sorted filename: object/object.js
>> [mxmlc] sorted filename: object/object.js
>> [mxmlc] sorted filename: events/eventid.js
>> [mxmlc] sorted filename: events/listenable.js
>> [mxmlc] sorted filename: events/listener.js
>> [mxmlc] sorted filename: string/string.js
>> [mxmlc] sorted filename: dom/nodetype.js
>> [mxmlc] sorted filename: debug/error.js
>> [mxmlc] sorted filename: asserts/asserts.js
>> [mxmlc] sorted filename: array/array.js
>> [mxmlc] sorted filename: events/listenermap.js
>> [mxmlc] sorted filename: events/eventid.js
>> [mxmlc] sorted filename: events/listenable.js
>> [mxmlc] sorted filename: events/eventid.js
>> [mxmlc] sorted filename: disposable/idisposable.js
>> [mxmlc] sorted filename: disposable/disposable.js
>> [mxmlc] sorted filename: events/event.js
>> [mxmlc] sorted filename: object/object.js
>> [mxmlc] sorted filename: events/eventid.js
>> [mxmlc] sorted filename: events/listenable.js
>> [mxmlc] sorted filename: events/listener.js
>> [mxmlc] sorted filename: string/string.js
>> [mxmlc] sorted filename: dom/nodetype.js
>> [mxmlc] sorted filename: debug/error.js
>> [mxmlc] sorted filename: asserts/asserts.js
>> [mxmlc] sorted filename: array/array.js
>> [mxmlc] sorted filename: events/listenermap.js
>> 

Re: Build failed in Jenkins: flex-asjs #2226

2017-05-03 Thread Piotr Zarzycki
I'm wondering why this is still failing. Maven is nicely building and pick
up last Alex's changes related to this, but with Ant is something wrong.

Piotr

2017-05-03 21:25 GMT+02:00 :

> See 
>
> Changes:
>
> [pent] Changed the TableExample's DataTable component to dispatch
> "dataTableComplete" rather than "initComplete" since that was already being
> dispatched earlier.
>
> [pent] Added AbsolutePositioningViewBeadBase so control components can
> position their sub-elements using absolute positioning.
>
> --
> [...truncated 7402 lines...]
> [mxmlc] Compiling file:  cloudapp.net:8080/job/flex-asjs/ws/mustella/tests/
> basicTests/bin/js-debug/halo/views/ButtonTests.js>
> [mxmlc] halo.views.ButtonTests as: []
> [mxmlc] halo.views.ButtonTests mxml: [org.apache.flex.html.TextButton,
> org.apache.flex.html.Label, halo.views.ButtonTests, shim.VBox,
> org.apache.flex.events.MouseEvent]
> [mxmlc] Compiling file:  cloudapp.net:8080/job/flex-asjs/ws/mustella/tests/
> basicTests/bin/js-debug/halo/views/CheckBoxTests.js>
> [mxmlc] halo.views.CheckBoxTests as: []
> [mxmlc] halo.views.CheckBoxTests mxml: [org.apache.flex.html.CheckBox,
> halo.views.CheckBoxTests, shim.VBox]
> [mxmlc] originalPath: goog/array/array.js
> [mxmlc] originalPath: goog/asserts/asserts.js
> [mxmlc] originalPath: goog/base.js
> [mxmlc] originalPath: goog/bootstrap/nodejs.js
> [mxmlc] originalPath: goog/debug/entrypointregistry.js
> [mxmlc] originalPath: goog/debug/error.js
> [mxmlc] originalPath: goog/deps.js
> [mxmlc] originalPath: goog/disposable/disposable.js
> [mxmlc] originalPath: goog/disposable/idisposable.js
> [mxmlc] originalPath: goog/dom/nodetype.js
> [mxmlc] originalPath: goog/events/browserevent.js
> [mxmlc] originalPath: goog/events/browserfeature.js
> [mxmlc] originalPath: goog/events/event.js
> [mxmlc] originalPath: goog/events/eventid.js
> [mxmlc] originalPath: goog/events/events.js
> [mxmlc] originalPath: goog/events/eventtarget.js
> [mxmlc] originalPath: goog/events/eventtype.js
> [mxmlc] originalPath: goog/events/listenable.js
> [mxmlc] originalPath: goog/events/listener.js
> [mxmlc] originalPath: goog/events/listenermap.js
> [mxmlc] originalPath: goog/labs/useragent/browser.js
> [mxmlc] originalPath: goog/labs/useragent/engine.js
> [mxmlc] originalPath: goog/labs/useragent/platform.js
> [mxmlc] originalPath: goog/labs/useragent/util.js
> [mxmlc] originalPath: goog/object/object.js
> [mxmlc] originalPath: goog/reflect/reflect.js
> [mxmlc] originalPath: goog/string/string.js
> [mxmlc] originalPath: goog/useragent/useragent.js
> [mxmlc] sorted filename: bootstrap/nodejs.js
> [mxmlc] sorted filename: base.js
> [mxmlc] sorted filename: deps.js
> [mxmlc] sorted filename: object/object.js
> [mxmlc] sorted filename: object/object.js
> [mxmlc] sorted filename: events/eventid.js
> [mxmlc] sorted filename: events/listenable.js
> [mxmlc] sorted filename: events/listener.js
> [mxmlc] sorted filename: string/string.js
> [mxmlc] sorted filename: dom/nodetype.js
> [mxmlc] sorted filename: debug/error.js
> [mxmlc] sorted filename: asserts/asserts.js
> [mxmlc] sorted filename: array/array.js
> [mxmlc] sorted filename: events/listenermap.js
> [mxmlc] sorted filename: events/eventid.js
> [mxmlc] sorted filename: events/listenable.js
> [mxmlc] sorted filename: events/eventid.js
> [mxmlc] sorted filename: disposable/idisposable.js
> [mxmlc] sorted filename: disposable/disposable.js
> [mxmlc] sorted filename: events/event.js
> [mxmlc] sorted filename: object/object.js
> [mxmlc] sorted filename: events/eventid.js
> [mxmlc] sorted filename: events/listenable.js
> [mxmlc] sorted filename: events/listener.js
> [mxmlc] sorted filename: string/string.js
> [mxmlc] sorted filename: dom/nodetype.js
> [mxmlc] sorted filename: debug/error.js
> [mxmlc] sorted filename: asserts/asserts.js
> [mxmlc] sorted filename: array/array.js
> [mxmlc] sorted filename: events/listenermap.js
> [mxmlc] sorted filename: events/eventid.js
> [mxmlc] sorted filename: events/listenable.js
> [mxmlc] sorted filename: string/string.js
> [mxmlc] sorted filename: reflect/reflect.js
> [mxmlc] sorted filename: string/string.js
> [mxmlc] sorted filename: labs/useragent/util.js
> [mxmlc] sorted filename: string/string.js
> [mxmlc] sorted filename: string/string.js
> [mxmlc] sorted filename: labs/useragent/util.js
> [mxmlc] sorted filename: labs/useragent/platform.js
> [mxmlc] sorted filename: string/string.js
> [mxmlc] sorted filename: string/string.js
> [mxmlc] sorted filename: labs/useragent/util.js

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
Hi,

This is the finished bead. We put "base" on it to indicate it is a class
you can use as the basis for control view beads. But feel free to change
it now before it gets too much use.


‹peter

On 5/3/17, 1:17 PM, "Piotr Zarzycki"  wrote:

>Hi Peter,
>
>Is this finished bead which I can use straight in my components ? If this
>is not class which should be extended - I think better would be name
>without "Base".
>
>Just my feeling when I look without going into the code.
>
>Piotr
>
>
>
>2017-05-03 19:08 GMT+02:00 :
>
>> Repository: flex-asjs
>> Updated Branches:
>>   refs/heads/develop 7965c6de2 -> 88f0bcbe0
>>
>>
>> Added AbsolutePositioningViewBeadBase so control components can position
>> their sub-elements using absolute positioning.
>>
>>
>> Project: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Frepo=02%7C01%7C%7Cb4705bba1
>>ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6362
>>94286433550282=76h%2FPdcpqBabnqn%2BJlZpiP4Vp5XzSizXlHTS5EUNd%2BY%3D
>>=0
>> Commit: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fcommit%2F88f0bcbe=02%7C01%7
>>C%7Cb4705bba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7
>>C0%7C0%7C636294286433550282=oM9XL7xk139jn12ioIful8YwO%2BNgKoqCWVvPg
>>BLpE20%3D=0
>> Tree: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Ftree%2F88f0bcbe=02%7C01%7C%
>>7Cb4705bba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>>%7C0%7C636294286433550282=YHG%2FTeTBVMccD%2FCzVNUZO9e74fT9gjAqXv7k2
>>rW94uw%3D=0
>> Diff: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fdiff%2F88f0bcbe=02%7C01%7C%
>>7Cb4705bba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>>%7C0%7C636294286433550282=KH7zotCmcVuj7GLuKHa20cUYCxh189IeobJk%2FLK
>>d1Js%3D=0
>>
>> Branch: refs/heads/develop
>> Commit: 88f0bcbe0728e2831e097a1b9593f835cf3c564d
>> Parents: 7965c6d
>> Author: Peter Ent 
>> Authored: Wed May 3 13:08:08 2017 -0400
>> Committer: Peter Ent 
>> Committed: Wed May 3 13:08:08 2017 -0400
>>
>> --
>>  .../Basic/src/main/flex/BasicClasses.as |   1 +
>>  .../beads/AbsolutePositioningViewBeadBase.as| 113
>>+++
>>  2 files changed, 114 insertions(+)
>> --
>>
>>
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fblob%2F=02%7C01%7C%7Cb4705b
>>ba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>>36294286433550282=kVtfAYLBRzSsOY4OWt4F1UGCg1gZbrCrYsDaoH5RpOo%3D
>>served=0
>> 88f0bcbe/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> --
>> diff --git a/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> index 4436e43..c7655cc 100644
>> --- a/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> +++ b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> @@ -32,6 +32,7 @@ internal class BasicClasses
>>  import org.apache.flex.html.beads.DispatchInputFinishedBead;
>> DispatchInputFinishedBead;
>> import org.apache.flex.html.accessories.PasswordInputBead;
>> PasswordInputBead;
>> import org.apache.flex.html.accessories.TextPromptBead;
>> TextPromptBead;
>> +   import 
>>org.apache.flex.html.beads.AbsolutePositioningViewBeadBase;
>> AbsolutePositioningViewBeadBase;
>>  import org.apache.flex.html.beads.AlertView; AlertView;
>>  import org.apache.flex.html.beads.models.AlertModel; AlertModel;
>> COMPILE::SWF
>>
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fblob%2F=02%7C01%7C%7Cb4705b
>>ba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>>36294286433550282=kVtfAYLBRzSsOY4OWt4F1UGCg1gZbrCrYsDaoH5RpOo%3D
>>served=0
>> 88f0bcbe/frameworks/projects/Basic/src/main/flex/org/
>> apache/flex/html/beads/AbsolutePositioningViewBeadBase.as
>> --
>> diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/
>> html/beads/AbsolutePositioningViewBeadBase.as
>>b/frameworks/projects/Basic/
>> src/main/flex/org/apache/flex/html/beads/AbsolutePositioningViewBeadBas
>> e.as
>> new file mode 100644
>> index 000..4843e44
>> --- /dev/null
>> +++ 
>>b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/
>> AbsolutePositioningViewBeadBase.as
>> @@ -0,0 +1,113 @@
>> 

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 Piotr Zarzycki
Hi Peter,

Is this finished bead which I can use straight in my components ? If this
is not class which should be extended - I think better would be name
without "Base".

Just my feeling when I look without going into the code.

Piotr



2017-05-03 19:08 GMT+02:00 :

> Repository: flex-asjs
> Updated Branches:
>   refs/heads/develop 7965c6de2 -> 88f0bcbe0
>
>
> Added AbsolutePositioningViewBeadBase so control components can position
> their sub-elements using absolute positioning.
>
>
> Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
> Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/88f0bcbe
> Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/88f0bcbe
> Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/88f0bcbe
>
> Branch: refs/heads/develop
> Commit: 88f0bcbe0728e2831e097a1b9593f835cf3c564d
> Parents: 7965c6d
> Author: Peter Ent 
> Authored: Wed May 3 13:08:08 2017 -0400
> Committer: Peter Ent 
> Committed: Wed May 3 13:08:08 2017 -0400
>
> --
>  .../Basic/src/main/flex/BasicClasses.as |   1 +
>  .../beads/AbsolutePositioningViewBeadBase.as| 113 +++
>  2 files changed, 114 insertions(+)
> --
>
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/
> 88f0bcbe/frameworks/projects/Basic/src/main/flex/BasicClasses.as
> --
> diff --git a/frameworks/projects/Basic/src/main/flex/BasicClasses.as
> b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
> index 4436e43..c7655cc 100644
> --- a/frameworks/projects/Basic/src/main/flex/BasicClasses.as
> +++ b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
> @@ -32,6 +32,7 @@ internal class BasicClasses
>  import org.apache.flex.html.beads.DispatchInputFinishedBead;
> DispatchInputFinishedBead;
> import org.apache.flex.html.accessories.PasswordInputBead;
> PasswordInputBead;
> import org.apache.flex.html.accessories.TextPromptBead;
> TextPromptBead;
> +   import org.apache.flex.html.beads.AbsolutePositioningViewBeadBase;
> AbsolutePositioningViewBeadBase;
>  import org.apache.flex.html.beads.AlertView; AlertView;
>  import org.apache.flex.html.beads.models.AlertModel; AlertModel;
> COMPILE::SWF
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/
> 88f0bcbe/frameworks/projects/Basic/src/main/flex/org/
> apache/flex/html/beads/AbsolutePositioningViewBeadBase.as
> --
> diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/
> html/beads/AbsolutePositioningViewBeadBase.as b/frameworks/projects/Basic/
> src/main/flex/org/apache/flex/html/beads/AbsolutePositioningViewBeadBas
> e.as
> new file mode 100644
> index 000..4843e44
> --- /dev/null
> +++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/
> AbsolutePositioningViewBeadBase.as
> @@ -0,0 +1,113 @@
> +///
> /
> +//
> +//  Licensed to the Apache Software Foundation (ASF) under one or more
> +//  contributor license agreements.  See the NOTICE file distributed with
> +//  this work for additional information regarding copyright ownership.
> +//  The ASF licenses this file to You under the Apache License, Version
> 2.0
> +//  (the "License"); you may not use this file except in compliance with
> +//  the License.  You may obtain a copy of the License at
> +//
> +//  http://www.apache.org/licenses/LICENSE-2.0
> +//
> +//  Unless required by applicable law or agreed to in writing, software
> +//  distributed under the License is distributed on an "AS IS" BASIS,
> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.
> +//  See the License for the specific language governing permissions and
> +//  limitations under the License.
> +//
> +///
> /
> +package org.apache.flex.html.beads
> +{
> +   import org.apache.flex.core.IBeadView;
> +   import org.apache.flex.core.IChild;
> +   import org.apache.flex.core.IStrand;
> +   import org.apache.flex.core.IUIBase;
> +
> +   /**
> +* Use AbsolutePositioningViewBeadBase as the base class for
> custom control view beads.
> +* This class sets the strand's position style to "relative" (HTML
> platform) if it is
> +* not already set to either "absolute" or "relative". Then use
> this class's
> +* setAbsolutePosition(child, x, y) function to place children.
> The function not
> +* only set's the child's left and top styles (HTML platform), it
> also sets the child's
> +* position to "absolute" (HTML platform).
> +*
> +* On the Flash 

Re: [FlexJS] Layouts

2017-05-03 Thread Peter Ent
Hi,

I've just pushed an update to flex-asjs develop branch with
AbsolutePositioningViewBeadBase as described below. This should make it
much easier to build control component which do not need to use layout
beads and can handle resizing events on their own.

—peter

On 4/26/17, 9:05 AM, "Peter Ent"  wrote:

>Let's do this then, after the merge of dual into develop:
>
>AbsolutePositioningViewBeadBase will be the view bead to use for controls.
>On the HTML platform, this bead will set its strand's style position to
>"relative" if it is not set to either "absolute" or "relative" already. In
>addition, this bead will have a setAbsolutePosition(child, x, y) function
>that on Flash, just sets x and y while on HTML, sets left and top styles
>as well as setting position:absolute style.
>
>You could use it like this: Create a view bead class that extends this
>class and set your custom view bead class in CSS for your control or add
>it programmatically. The super.strand setter will take care of setting the
>strand's position style. After you have created any elements required for
>your 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:
>>
>>>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 part.x and part.y won't be enough. You still need set
>>>part.style.position = "absolute". I don't think that will translate over
>>>to the HTML side and will not be useful to Flash.
>>
>>Well, you are right that there is more to it than just the ViewBase.
>>
>>However, we are in the business of encapsulating patterns.  We could do
>>any combination of the following:
>>
>>1) have setter for x and y set position="absolute" but it won't change
>>the
>>parent's position style.  AbsolutePositioningViewBase would still do
>>that.
>>2) add a setChildPosition method on AbsolutePositioningViewBase.
>>3) add xChanged,yChanged listeners to children
>>4) add childAdded listener to parent and check the child's x,y value
>>
>>Thoughts?
>>-Alex
>>
>>>
>>>‹peter
>>>
>>>On 4/25/17, 2:08 PM, "Alex Harui"  wrote:
>>>


On 4/25/17, 10:55 AM, "yishayw"  wrote:

>App devs may want to write custom controls and would expect flash and
>js
>behaviour to be the same. I think we should strive to eliminate use of
>conditional compilation for app devs. If that's so we don't want them
>changing an HTML only style (position).

Agreed, which is why we'd offer different base classes for views, one
of
which assigns the position style.

-Alex

>>>
>>
>



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 piotrz
The second way is to stay as is and addBead before addedToParent. :)

Piotr



-
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-Added-example-of-building-a-Table-from-a-data-source-to-t-tp61479p61486.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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
Hi,

Yes - you are right about getting "initComplete" twice. I wrote the code
and forgot about it! The DataTable should probably dispatch
"dataTableComplete" so that the data mapper can detect that as the
all-finished event.

Thanks,
‹peter

On 5/2/17, 5:39 PM, "Piotr Zarzycki"  wrote:

>Hi Peter,
>
>I was going through the DataTable class code and I see that you are adding
>mapper bead in addedToParent.
>
>override public function addedToParent():void
>{
>   super.addedToParent();
>
>   addBead(new DataTableMapperForArrayListData());
>
>   dispatchEvent( new Event("initComplete") );
>}
>
> If I add event listener to DataTable class I will get "initComplete"
>two times.
>
>You will not have issue with added bead, but developer who will get
>this class and use it could have.
>
>Piotr
>
>
>2017-05-02 22:34 GMT+02:00 :
>
>> Repository: flex-asjs
>> Updated Branches:
>>   refs/heads/develop 82ff1840e -> 336fac64c
>>
>>
>> Added example of building a Table from a data source to the TableExample
>> example.
>>
>>
>> Project: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Frepo=02%7C01%7C%7C973eb1da4
>>7de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6362
>>93580155655469=lugSmNuyjCCVZ%2BPoSqlfac2LM4%2BwoALMml9%2FWJ12nMM%3D
>>=0
>> Commit: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fcommit%2F336fac64=02%7C01%7
>>C%7C973eb1da47de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7
>>C0%7C0%7C636293580155655469=N4yb6S%2Ftiq2Bmy3dYMzB6DWOcnUbhCmHlIfqp
>>48%2FE%2Bk%3D=0
>> Tree: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Ftree%2F336fac64=02%7C01%7C%
>>7C973eb1da47de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>>%7C0%7C636293580155655469=Od4twsqmJ%2BiQLJjGV7W5Lv%2F48N16La6zNvIBp
>>Rzxrf8%3D=0
>> Diff: 
>>https://na01.safelinks.protection.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: refs/heads/develop
>> Commit: 336fac64c0eed8b063213a72899f658e9d490cea
>> Parents: 82ff184
>> Author: Peter Ent 
>> Authored: Tue May 2 16:33:57 2017 -0400
>> Committer: Peter Ent 
>> Committed: Tue May 2 16:33:57 2017 -0400
>>
>> --
>>  .../src/main/flex/MyInitialView.mxml|  31 -
>>  .../src/main/flex/TableExample.mxml |   3 +
>>  .../src/main/flex/dataTable/DataColumn.as   |  33 ++
>>  .../src/main/flex/dataTable/DataTable.as|  69 
>>  .../mapper/DataTableMapperForArrayListData.as   | 112
>>+++
>>  .../main/flex/dataTable/model/DataTableModel.as |  40 +++
>>  .../src/main/flex/models/ProductsModel.as   |  47 
>>  7 files changed, 334 insertions(+), 1 deletion(-)
>> --
>>
>>
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fblob%2F=02%7C01%7C%7C973eb1
>>da47de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>>36293580155665477=lKg4ES5s2EUHsYKZqLX2ADXkVYodqZxqmtbLE6443yM%3D
>>served=0
>> 336fac64/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> --
>> diff --git 
>>a/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> b/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> index c2f81dd..11d2e29 100644
>> --- a/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> +++ b/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> @@ -18,7 +18,9 @@ limitations under the License.
>>
>>  -->
>>  >xmlns:fx="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2
>>Fns.adobe.com%2Fmxml%2F2009=02%7C01%7C%7C973eb1da47de43ee8ff308d491a
>>3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636293580155665477
>>ta=KQ1v3zxgipqPUoRjx%2BIs6UimtO1%2FcQVpFcHQ5eN0Fuw%3D=0"
>> -   xmlns:js="library://ns.apache.
>> org/flexjs/basic">
>> +   xmlns:js="library://ns.apache.
>> org/flexjs/basic"
>> +   xmlns:dataTable="dataTable.*"
>> +   xmlns:model="dataTable.model.*">
>>
>> 
>> @namespace js "library://ns.apache.org/flexjs/basic";
>> @@ -44,6 +46,10 @@ limitations under the License.
>> padding: 6px;
>> }
>>
>> +   .DataTable {
>> +   iBeadModel: 

Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-03 Thread Christofer Dutz
Hi Om, 

If you run the maven build with the “-X” switch it will output exception 
stacktraces. If you see something down the road of handshake problems, this is 
the problem I’m referring to.

Chris


Am 03.05.17, 02:04 schrieb "omup...@gmail.com im Auftrag von OmPrakash 
Muppirala" :

Huh?  The JDK download site says that 1.8.0_131 is the latest version:

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

I will try the font project alone in verbose mode and report here.

Thanks,
Om

On Tue, May 2, 2017 at 5:00 PM, Alex Harui  wrote:

> Theoretically, the problem goes away after 1.8.0_131.  Maybe run with more
> verbose output to see if you in fact hitting the same problem.
>
> -Alex
>
> On 5/2/17, 2:05 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
>  wrote:
>
> >On Tue, May 2, 2017 at 10:09 AM, Alex Harui  wrote:
> >
> >> "Non-us" may be a typo.  I think it happens everywhere.
> >>
> >> If you can upgrade to latest Java 8, the problem should go away.
> >> Otherwise see:
> >>
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fwww.oracl
> >>e.com%2Ftechnetwork%2Fjava%2Fjavase%2F=02%7C01%7C%
> 7C0ee591da6bb249fc
> >>286e08d4919f08ec%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C63629355961
> >>5081234=b1obHrC1nmNR4p6WuW2nRmi3nPCnZ4
> eYVl%2FChO87Oz8%3D=0
> >> downloads/jce8-download-21331
> >> 66.html
> >>
> >>
> >> There is a similar link for Java 7.
> >>
> >
> >I am pretty sure I have the latest version of Java.
> >
> >*java version "1.8.0_131"*
> >*Java(TM) SE Runtime Environment (build 1.8.0_131-b11)*
> >*Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)*
> >
> >
> >
> >
> >> AIUI, consumers of the binaries don't hit this issue, only those
> >>building
> >> from source.
> >>
> >
> >Yes, the binaries are never a problem.  I am talking about compiling from
> >source.  My point is that - if the user cannot cleanly compile from the
> >sources, we should not be shipping with that module.
> >
> >Thanks,
> >Om
> >
> >
> >>
> >> -Alex
> >>
> >> On 5/2/17, 9:58 AM, "omup...@gmail.com on behalf of OmPrakash
> Muppirala"
> >>  wrote:
> >>
> >> >On May 2, 2017 9:43 AM, "Christofer Dutz" 
> >> >wrote:
> >> >
> >> >Hi Om,
> >> >
> >> >This is due to the annoying sourceforge ssl update that prevents
> >> >downloading files from sourceforge with non-us JVMs. You have to
> >>manually
> >> >update the encryption module of your JVM to download those files. I
> >>just
> >> >lived with commenting out the fonts module from my build as it was 
only
> >> >one
> >> >example that actually needed that and we can download that from the
> >>Apache
> >> >SNAPSHOTS repo.
> >> >
> >> >
> >> >Chris, thanks for the response.
> >> >
> >> >What is non-us JVM?
> >> >
> >> >If this is not essential, perhaps we can ship with these modules
> >>disabled?
> >> >And add instructions for those who want to enable it?
> >> >
> >> >Thanks,
> >> >Om
> >> >
> >> >
> >> >Chris
> >> >
> >> >
> >> >Am 01.05.17, 21:18 schrieb "omup...@gmail.com im Auftrag von OmPrakash
> >> >Muppirala" :
> >> >
> >> >flex-falcon and flex-typedefs built fine for me.
> >> >
> >> >The flex-asjs build is broken for me on the Fonts project.
> >> >
> >> >Here is the relevant log:
> >> >
> >> >
> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fpaste.apa
> >> >che.org%2FkATQ=02%7C01%7C%7C3f941efbc62043ed91e208d4917c
> >> 8a78%7Cfa7b1b
> >> >5a7b34438794aed2c178decee1%7C0%7C0%7C636293411471086252&
> >> sdata=QTsZvivy0jT1
> >> >FdWjAkXpKLskL%2BfzKNL5UYsg%2FwEnhb0%3D=0
> >> >
> >> >Can someone please take a look?
> >> >
> >> >Thanks,
> >> >Om
> >> >
> >> >On Mon, May 1, 2017 at 11:50 AM, OmPrakash Muppirala <
> >> >bigosma...@gmail.com>
> >> >wrote:
> >> >
> >> >> For folks who want to help out but are not sure how to, please
> >> >follow
> >> >the
> >> >> step by step instructions here on how to build the FlexJS SDK
> >>from
> >> >the
> >> >> sources:
> >> >>
> >> >>
> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fcwiki.apa
> >> 

Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-03 Thread Christofer Dutz
Hi Om,

It seems due to export restrictions for cryptographic algorithms, the JDK 
downloadable outside the US has a different crypto suite installed, one that 
doesn’t handle the strength of encryption sourceforge now requires. You can 
manually install an alternate suite (JCE), but that hasn’t helped in 100% of 
the cases.

Chris


Am 02.05.17, 18:58 schrieb "omup...@gmail.com im Auftrag von OmPrakash 
Muppirala" :

On May 2, 2017 9:43 AM, "Christofer Dutz"  wrote:

Hi Om,

This is due to the annoying sourceforge ssl update that prevents
downloading files from sourceforge with non-us JVMs. You have to manually
update the encryption module of your JVM to download those files. I just
lived with commenting out the fonts module from my build as it was only one
example that actually needed that and we can download that from the Apache
SNAPSHOTS repo.


Chris, thanks for the response.

What is non-us JVM?

If this is not essential, perhaps we can ship with these modules disabled?
And add instructions for those who want to enable it?

Thanks,
Om


Chris


Am 01.05.17, 21:18 schrieb "omup...@gmail.com im Auftrag von OmPrakash
Muppirala" :

flex-falcon and flex-typedefs built fine for me.

The flex-asjs build is broken for me on the Fonts project.

Here is the relevant log:

https://paste.apache.org/kATQ

Can someone please take a look?

Thanks,
Om

On Mon, May 1, 2017 at 11:50 AM, OmPrakash Muppirala <
bigosma...@gmail.com>
wrote:

> For folks who want to help out but are not sure how to, please follow
the
> step by step instructions here on how to build the FlexJS SDK from the
> sources:
>
> https://cwiki.apache.org/confluence/display/FLEX/
> Building+FlexJS+with+Maven
>
> Thanks,
> Om
>
> On Mon, May 1, 2017 at 10:19 AM, Greg Dove 
wrote:
>
>> Thanks Alex,
>>
>> This helps
>> JS
>> Still some stuff left to figure out, but that is progress. Pretty
sure
>> that
>> falls into "I am hoping there is something simple that I didn't see"
-
>> thanks again.
>>
>> btw I think :
>> true
>>
>> is presumably redundant in any pom.xml now, including that example.
My
>> reason for thinking that is that it is coming up 'red', with tooltip
>> "Element outputJavaScript is not allowed here", for a local project
via
>> code highlighting in Intellij (which was really helpful initially to
>> understand this change).
>>
>>
>>
>> On Tue, May 2, 2017 at 4:42 AM, Alex Harui  wrote:
>>
>> > I believe examples/native/ButtonExample only produces JS output.
>> >
>> > -Alex
>> >
>> > On 5/1/17, 9:11 AM, "Greg Dove"  wrote:
>> >
>> > >Chris, or perhaps Alex:
>> > >With the latest changes for maven, I am trying to figure out how
to get
>> > >the
>> > >same result with maven as
>> > >true
>> > >
>> > >which previously permitted js-only compilation so that
COMPILE::JS was
>> not
>> > >needed in js-only target project, and it was possible to use, for
>> example,
>> > >var style:CSSStyleDeclaration,
>> > >window['Intl'] etc
>> > >outside of COMPILE::JS
>> > >
>> > >Is this still possible in some way after the change? I can see
options
>> for
>> > >maven like
>> > >skipAS etc, but have not figured out a combination that achieves
the
>> same.
>> > >
>> > >I am hoping there is something simple that I didn't see - I am
still
>> > >getting my head around using maven, (apart from finding it mostly
very
>> > >intuitive to 'read').
>> > >If not, I can always go through the code and wrap things in
>> COMPILE::JS,
>> > >was just hoping that I don't need to do that.
>> > >Thanks,
>> > >Greg
>> > >
>> > >
>> > >On Tue, May 2, 2017 at 2:51 AM, Christofer Dutz
>> > >
>> > >wrote:
>> > >
>> > >> But in general, “mvn clean compile” should have worked. I even
double
>> > >> checked with the debugger … if the other modules are part of the
>> build
>> > >>it
>> > >> would acutally resolve the artifacts from the target directories
>> > >>instead of