Re: git commit: [flex-asjs] [refs/heads/feature/chart-work] - Method getElementAt should return null if element not exists on JS sight

2017-04-17 Thread piotrz
Hi Alex, I think I went in the scenario in MDL where children array do not contains anything. It was related to Tabs, but I don't remember correctly. Similar code is for SWF version in case where _element is null. Do you want me to remove it ? Piotr - Apache Flex PMC piotrzarzyck...@gmai

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

2017-04-17 Thread Justin Mclean
Hi, Missing [1] reference in my last email was http://caniuse.com/#search=Intl Justin

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

2017-04-17 Thread Justin Mclean
HI, > The recommended pattern is in UIBase and hopefully elsewhere. I’ll give that a try. > Do we need resources in order to make a locale-dependant DateFormat bead? Probably not but I’ve no idea can you can conditionally include classes in CSS based on locale or pass property of a bead based

Re: [FlexJS] Status of dev branch/nightly build

2017-04-17 Thread OK
Thanks Alex, I've already downloaded it and will report issues... Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Status-of-dev-branch-nightly-build-tp61158p61174.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

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

2017-04-17 Thread Alex Harui
On 4/17/17, 9:48 PM, "Justin Mclean" wrote: >Hi, > >> That would imply a bug elsewhere DateField. > >DateField consist of 3 functions addedToParent and a selectedDate >setter/getter. How would you fix this bug? > >> The pattern all components >> should be using is to define an interface for a

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

2017-04-17 Thread Justin Mclean
Hi, > That would imply a bug elsewhere DateField. DateField consist of 3 functions addedToParent and a selectedDate setter/getter. How would you fix this bug? > The pattern all components > should be using is to define an interface for a class of beads, maybe > something like IDateFormatBead.

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

2017-04-17 Thread Alex Harui
On 4/17/17, 8:31 PM, "Justin Mclean" wrote: >HI, > >> What is the scenario where everybody will need this code? > >If they want to use a date formatter and not have dates displayed as >“-MM-DD”. > >Before these changes dates would be formatted as US style dates by >default and if you added

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

2017-04-17 Thread Justin Mclean
HI, > What is the scenario where everybody will need this code? If they want to use a date formatter and not have dates displayed as “-MM-DD”. Before these changes dates would be formatted as US style dates by default and if you added a different date format bead it would still incorrectly

Re: FlexSDK 4.16.0 installer errors

2017-04-17 Thread danielmcquillen
...scratch that, I was getting that error b/c I was running in PowerShell. Running in regular cmd works fine (after updating jce per above instructions by Alex. Thanks for that!) - Daniel -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexSDK-4-16-0-insta

Re: FlexSDK 4.16.0 installer errors

2017-04-17 Thread danielmcquillen
Hi @Lydecker, Did you not get a Target "25.0" does not exist in the project "sdk_ide_install". error when you ran the installer? Thanks Daniel -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexSDK-4-16-0-installer-errors-tp60542p61168.html Sent f

Re: [FlexJS] Release cycles

2017-04-17 Thread Justin Mclean
Hi, There are also several unresolved licensing issues, which from memory are: - outstanding issues from the last two releases - JSON license “do no evil” dependancy issue - possible IP issue (MD5 code) checked in a few weeks ago Having shorter release cycles IMO would mean it's a lot less work t

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-17 Thread Justin Mclean
Hi, > I don't know much about CORS. If you make a login call in order to > authenticate the user and the server you call with the login is on a > different domain, how do you get the transaction to happen if > withCredentials are false? The server sets an Access-Control-Allow-Origin header to al

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - - Fix not working numElements - Fix failing internalChildren function when element is undefined

2017-04-17 Thread Alex Harui
Hi Piotr, Did we ever figure out how internalChildren got called so early that element was undefined? -Alex On 2/9/17, 10:56 AM, "Alex Harui" wrote: > > >On 2/9/17, 8:38 AM, "piotrz" wrote: > >>Hi Alex, >> >>I think the reason that we haven't had problems with numElements is that >>no >>one u

Re: git commit: [flex-asjs] [refs/heads/feature/chart-work] - Method getElementAt should return null if element not exists on JS sight

2017-04-17 Thread Alex Harui
Hi Piotr, I'm wondering why some other code called getElementAt with an invalid index. Do we really need defensive code like this? Thanks, -Alex On 4/2/17, 1:54 PM, "pio...@apache.org" wrote: >Repository: flex-asjs >Updated Branches: > refs/heads/feature/chart-work de48d638e -> 3d92c1c3a > >

Re: [FlexJS] Release cycles

2017-04-17 Thread Alex Harui
On 4/17/17, 11:34 AM, "OK" wrote: >Hi, >I don't know how much effort it is to cut a release but I wonder if it >makes >sense to increase the FlexJS release cycles to make changes much more >transparent and to don't overload a release with too much bug fixes and >new >features. Are you volunteer

Re: [FlexJS] Status of dev branch/nightly build

2017-04-17 Thread Alex Harui
More changes are in the pipeline, but it would nice to have folks use the nightly and help find issues. -Alex On 4/17/17, 11:16 AM, "OK" wrote: >Hi, >I was on vacation and have not been following the list lately. >I noticed some major changes and would like to ask if it's recommended to >use th

Re: FlexSDK 4.16.0 installer errors

2017-04-17 Thread Alex Harui
On 4/17/17, 1:44 PM, "Lydecker" wrote: >That seems to have done the trick - thanks! > >Quick question, should my /frameworks/libs/player directory not have a >'25.0' folder in it following the ant install (given I prompted for >version >25 and said yes to downloading the playerglobal.swc file?)

Re: FlexSDK 4.16.0 installer errors

2017-04-17 Thread Lydecker
That seems to have done the trick - thanks! Quick question, should my /frameworks/libs/player directory not have a '25.0' folder in it following the ant install (given I prompted for version 25 and said yes to downloading the playerglobal.swc file?). I only have a 23.0 file in my /frameworks/libs

[FlexJS] Release cycles

2017-04-17 Thread OK
Hi, I don't know how much effort it is to cut a release but I wonder if it makes sense to increase the FlexJS release cycles to make changes much more transparent and to don't overload a release with too much bug fixes and new features. Thanks, Olaf -- View this message in context: http://ap

[FlexJS] Status of dev branch/nightly build

2017-04-17 Thread OK
Hi, I was on vacation and have not been following the list lately. I noticed some major changes and would like to ask if it's recommended to use the nightly build or if some more changes are in the pipeline. Thanks, Olaf -- View this message in context: http://apache-flex-development.247.n

Re: FlexSDK 4.16.0 installer errors

2017-04-17 Thread Alex Harui
Here are some links: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-21331 66.html http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-4321 24.html Just moving to the latest Java 8 should also fix it. HTH, -ALex On 4/17/17, 9:54 AM, "Alex Harui" wrote

Re: FlexSDK 4.16.0 installer errors

2017-04-17 Thread Alex Harui
That smells like the JCE problem. On 4/17/17, 5:25 AM, "Lydecker" wrote: > >osmf-download: > [delete] Deleting: D:\F162\osmf.properties > [echo] Downloading OSMF2_0.swc?format=raw from: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsourceforg >e.net%2Fadobe%2Fflexsdk%2Fc

Re: [FlexJS] Examples

2017-04-17 Thread Alex Harui
I think the service may have been temporarily down or the format changed. See this, for example: https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finan ce.quotes%20where%20symbol%20in%20(%22YHOO%22)&format=json&env=store%3A%2F% 2Fdatatables.org%2Falltableswithkeys&callback=

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-17 Thread Alex Harui
On 4/17/17, 2:44 AM, "piotrz" wrote: >Yes I was thinking about remove, but it look like you really need it and >need >to rely on events, so ok I don't want to argue. > >But maybe let's creat another one who just switch On property without rely >on any events as it was suggested above. We can h

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-17 Thread Alex Harui
On 4/16/17, 11:00 PM, "Justin Mclean" wrote: >Hi, > >> So, good first try at a bead. Maybe we don't agree on the scenario. >>It >> looked like this bead was considering a scenario where on one call, you >> might set withCredentials=true, and on a subsequent call, you might set >> withCredenti

Re: FlexSDK 4.16.0 installer errors

2017-04-17 Thread Lydecker
Hi Alex, Thanks for the advice - still getting an error with windows - seems to be with OSFM download - which is weird as the mirror it fails to grab the file from I can get when browsing to the URL directly. Here is the console output - any pointers? Thanks D:\F162>ant -f installer.xml -Dair.sd

Re: [FlexJS] Examples

2017-04-17 Thread Peter Ent
Thanks for the note about the US Census data. Census data, coupled with maps, always provides interesting information. It does however, take a bit of time to figure out what to query, how to query it, and how to present it. I think we could work this into a very nice example at some point. Does an

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-17 Thread piotrz
Yes I was thinking about remove, but it look like you really need it and need to rely on events, so ok I don't want to argue. But maybe let's creat another one who just switch On property without rely on any events as it was suggested above. Piotr - Apache Flex PMC piotrzarzyck...@gmail.

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-17 Thread Justin Mclean
Hi, > Regarding removing listeners, I just noticed that > ElementWrapper.removeBead does not set the beads strand to null. Once this is fixed I’ll no longer need the postSend handler and I’ll change set strand to: public function set strand(value:IStrand):void { _strand = value; if (_s

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-17 Thread Justin Mclean
Hi, > So if we have some problems here - maybe you should remove this bead from > framework, but since you need it - put it in your end application. IMO Other people are very likely to need this at some point so it’s needed in the framework. Are you suggesting we go back to a non-bead implementa