[jira] [Commented] (FLEX-13423) DateChooser selectedRanges gives selectedRange start+1 day [if selectedRanges.rangeStart is same as selectableRange.rangeStart]
[ https://issues.apache.org/jira/browse/FLEX-13423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678955#comment-13678955 ] Justin Mclean commented on FLEX-13423: -- Unable to reproduce in develop branch. Can you describe the steps to reproduce it with this code? ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx s:layout s:VerticalLayout / /s:layout fx:Script ![CDATA[ import mx.events.CalendarLayoutChangeEvent; protected function changed(event:CalendarLayoutChangeEvent):void { var length:int = dc.selectedRanges.length; var selected:String = ; for (var i:int; i length; i++) { selected += + dc.selectedRanges[i].rangeStart + - + dc.selectedRanges[i].rangeEnd; } l.text = selected; } ]] /fx:Script mx:DateChooser id=dc change=changed(event) allowMultipleSelection=true / s:Label id=l / /s:Application As far a sI can see removeRangeFromSelection doesn't contain code above. mx_internal function removeRangeFromSelection(startDate:Date, endDate:Date):void { var rangeEnd:Date; var rangeStart:Date; if (endDate startDate) return; for (var n:int = 0; n selectedRangeCount; n++) { rangeStart = _selectedRanges[n].rangeStart; rangeEnd = _selectedRanges[n].rangeEnd; // ignore selection range outsie of date range if (endDate rangeStart || startDate rangeEnd) continue; // remove selection range inside of date range if (startDate = rangeStart endDate = rangeEnd) { _selectedRanges[n] = null; } // split selection range if date range inside selection range else if (startDate rangeStart endDate rangeEnd) { var temp:Date = _selectedRanges[n].rangeEnd; _selectedRanges[n].rangeEnd = addSubtractDays(startDate, -1); _selectedRanges[selectedRangeCount] = {}; _selectedRanges[selectedRangeCount].rangeStart = addSubtractDays(endDate, +1); _selectedRanges[selectedRangeCount].rangeEnd = temp; selectedRangeCount++; } // move selection start date if end overlaps else if (endDate = rangeStart) { _selectedRanges[n].rangeStart = addSubtractDays(endDate, +1); } // move selection end date if start overlaps else if (startDate = rangeEnd) { _selectedRanges[n].rangeEnd = addSubtractDays(startDate, -1); } } // clean up any removed selections for (n = selectedRangeCount -1; n 0; n--) { if (_selectedRanges[n] == null) { _selectedRanges.splice(n,1); selectedRangeCount--; } } } DateChooser selectedRanges gives selectedRange start+1 day [if selectedRanges.rangeStart is same as selectableRange.rangeStart] --- Key: FLEX-13423 URL: https://issues.apache.org/jira/browse/FLEX-13423 Project: Apache Flex Issue Type: Bug Components: mx: DateChooser Affects Versions: Adobe Flex SDK Previous
Re: Build failed in Jenkins: flex-sdk_mustella #146
OK, fixed a few more. Please sync and run again and see where we end up. If there are no bitmap compare failures, see if you can kick off a –failures run. One failure is complaining about a missing locale. You may need to run the other.locales target (or whatever it is called). -Alex From: OmPrakash Muppirala bigosma...@gmail.commailto:bigosma...@gmail.com Date: Saturday, June 8, 2013 11:56 AM To: dev@flex.apache.orgmailto:dev@flex.apache.org dev@flex.apache.orgmailto:dev@flex.apache.org Cc: erikdebr...@apache.orgmailto:erikdebr...@apache.org erikdebr...@apache.orgmailto:erikdebr...@apache.org, aha...@apache.orgmailto:aha...@apache.org aha...@apache.orgmailto:aha...@apache.org, jmcl...@apache.orgmailto:jmcl...@apache.org jmcl...@apache.orgmailto:jmcl...@apache.org Subject: Re: Build failed in Jenkins: flex-sdk_mustella #146 This is progress! Down to 15 failures now. Om On Jun 8, 2013 9:15 AM, flex.muste...@gmail.commailto:flex.muste...@gmail.com wrote: See http://localhost:8080/job/flex-sdk_mustella/146/changes Changes: [aharui] Try to use XML diffs to be tolerant of small floating point differences [aharui] fix bugs in xmldiffer [aharui] fix bug in xmldiffer [jmclean] Fix file case issue. [jmclean] Fix file case issues [jmclean] Changed case a file [jmclean] Fix file case issues [aharui] fix timing problem in Alert test [aharui] attempt to fix mustella tests on the VM [bigosmallm] Added create-md5 target in build.xml. Will be useful when creating artifacts on the build server. [bigosmallm] Using algorithm=md5 when generating md5 checksum because .md5 != .MD5 [aharui] These tests didn't have fonts embedded correctly [aharui] expand tolerance on some tests -- [...truncated 80814 lines...] [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_binding_star_test10 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_binding_arrow_script_test11 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_binding_colon_script_test12 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_invalid_null_test13 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_invalid_empty_script_test14 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_bindingWithLocaleChange_test15 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_bindingWithLocaleChange_script_test16 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_star_test17 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_semicolonstar_test18 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_colon_script_test19 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_priod_script_test20 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_minus_script_test21 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_illegalNumber_test22 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_getterWithoutLocale_test23 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_getterWithoutLocale_script_test23 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_setToNumber_test24 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_setToNumber_script_test25 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_defaultValue_test1 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_setInlineValue_test2 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_useSetStyleMethod_i_default_test3 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_useSetStyleMethod_zh_TW_test4 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_useSetStyleMethod_ar_JO_test5 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_useSetStyleMethod_bn_BD_test6 Passed [java]
Jenkins build is back to normal : flex-sdk #77
See https://builds.apache.org/job/flex-sdk/77/changes
Re: Build failed in Jenkins: flex-sdk_mustella #146
On Sat, Jun 8, 2013 at 11:37 PM, Alex Harui aha...@adobe.com wrote: OK, fixed a few more. Please sync and run again and see where we end up. If there are no bitmap compare failures, see if you can kick off a –failures run. Just did that. One failure is complaining about a missing locale. You may need to run the other.locales target (or whatever it is called). I am not sure how to do it. More details, please? Thanks, Om -Alex From: OmPrakash Muppirala bigosma...@gmail.com Date: Saturday, June 8, 2013 11:56 AM To: dev@flex.apache.org dev@flex.apache.org Cc: erikdebr...@apache.org erikdebr...@apache.org, aha...@apache.org aha...@apache.org, jmcl...@apache.org jmcl...@apache.org Subject: Re: Build failed in Jenkins: flex-sdk_mustella #146 This is progress! Down to 15 failures now. Om On Jun 8, 2013 9:15 AM, flex.muste...@gmail.com wrote: See http://localhost:8080/job/flex-sdk_mustella/146/changes Changes: [aharui] Try to use XML diffs to be tolerant of small floating point differences [aharui] fix bugs in xmldiffer [aharui] fix bug in xmldiffer [jmclean] Fix file case issue. [jmclean] Fix file case issues [jmclean] Changed case a file [jmclean] Fix file case issues [aharui] fix timing problem in Alert test [aharui] attempt to fix mustella tests on the VM [bigosmallm] Added create-md5 target in build.xml. Will be useful when creating artifacts on the build server. [bigosmallm] Using algorithm=md5 when generating md5 checksum because .md5 != .MD5 [aharui] These tests didn't have fonts embedded correctly [aharui] expand tolerance on some tests -- [...truncated 80814 lines...] [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_binding_star_test10 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_binding_arrow_script_test11 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_binding_colon_script_test12 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_invalid_null_test13 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_invalid_empty_script_test14 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_bindingWithLocaleChange_test15 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_bindingWithLocaleChange_script_test16 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_star_test17 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_semicolonstar_test18 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_colon_script_test19 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_priod_script_test20 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_minus_script_test21 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_function_illegalNumber_test22 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_getterWithoutLocale_test23 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_getterWithoutLocale_script_test23 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_setToNumber_test24 Passed [java] spark/validators/NumberValidator/Properties/NV_groupingSeparator_tester NV_groupingSeparator_setToNumber_script_test25 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_defaultValue_test1 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_setInlineValue_test2 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_useSetStyleMethod_i_default_test3 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_useSetStyleMethod_zh_TW_test4 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_useSetStyleMethod_ar_JO_test5 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester NV_inline_style_useSetStyleMethod_bn_BD_test6 Passed [java] spark/validators/NumberValidator/Styles/NV_inline_style_tester
Build failed in Jenkins: flex-sdk_release #34
See https://builds.apache.org/job/flex-sdk_release/34/changes Changes: [jmclean] Fixed RTE in tests. It may be that the code in Divider box is incorrect and it confusing no dividers (= no of children-1) and number of children. [jmclean] Corrected spacing. [jmclean] Fix file case issue. [jmclean] fixed RTE when having multiple selections and unselecting first selection via ctrl clicking [aharui] more mustella fixes [aharui] fix another mustella test (another issue with delayed focus) [bigosmallm] Running -failures on Mustella -- [...truncated 1707 lines...] clean: bundles-clean: clean: bundles-clean: clean: clean: bundles-clean: clean: bundles-clean: clean: bundles-clean: clean: bundles-clean: clean: clean: clean: [delete] Deleting directory https://builds.apache.org/job/flex-sdk_release/ws/frameworks\libs local-fonts-snapshot: [touch] Creating https://builds.apache.org/job/flex-sdk_release/ws/frameworks\localFonts.ser [touch] Creating https://builds.apache.org/job/flex-sdk_release/ws/frameworks\macFonts.ser [touch] Creating https://builds.apache.org/job/flex-sdk_release/ws/frameworks\winFonts.ser thirdparty-downloads: swfobject-check: swfobject-download: swfobject-fabridge-download: osmf-check: osmf-download: ask-osmf: download-osmf-zip: [unzip] Expanding: https://builds.apache.org/job/flex-sdk_release/ws/in\OSMF_1.0.zip into https://builds.apache.org/job/flex-sdk_release/ws/in [unzip] Expanding: https://builds.apache.org/job/flex-sdk_release/ws/in\osmf_source_v1-0.zip into https://builds.apache.org/job/flex-sdk_release/ws/frameworks\libs blazeds-jar-check: ask-blazeds: get-blazeds-jar: blazeds-jar: font-jars-check: ask-font: get-font-jars: font-jars: clean-adobe-flex-sdk: optional-downloads: main: [echo] Use thirdparty-clean or super-clean to remove these. prepare: playerglobal-setswfversion: flex-config: [copy] Copying 1 file to https://builds.apache.org/job/flex-sdk_release/ws/frameworks compile: framework: bundles-clean: pixelbender-clean: assets-clean: clean: assets-compile: [mxmlc] Loading configuration file F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\flex-config.xml [mxmlc] F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\assets\Assets.swf (9037 bytes) pixelbender-compile: pixelbender-unzip: compile: [echo] Compiling frameworks/libs/framework.swc [compc] Loading configuration file F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\flex-config.xml [compc] Loading configuration file F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\framework-config.xml [compc] Loading configuration file F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\compile-config.xml [compc] F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\libs\framework.swc (831920 bytes) main: [echo] Compiling frameworks/locale/en_US/framework_rb.swc [compc] Loading configuration file F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\framework\bundle-config.xml [compc] F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\locale\en_US\framework_rb.swc (16527 bytes) mx: bundles-clean: clean: compile: [echo] Compiling frameworks/libs/mx/mx.swc [compc] Loading configuration file F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\mx\compile-config.xml [compc] F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\libs\mx\mx.swc (963084 bytes) main: [echo] Compiling frameworks/locale/en_US/mx_rb.swc [compc] Loading configuration file F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\mx\bundle-config.xml [compc] F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\locale\en_US\mx_rb.swc (2149 bytes) textLayout: check-tlf-home: bundles-clean: clean-external: [echo] cleaning https://builds.apache.org/job/flex-sdk_release/ws/../flex-tlf [echo] FLEX_HOME is https://builds.apache.org/job/flex-sdk_release/ws/ clean: clean: compile: compile.external: [echo] FLEX_HOME is https://builds.apache.org/job/flex-sdk_release/ws/ textLayout_flex: [compc] Loading configuration file F:\hudson\hudson-slave\workspace\flex-tlf\compile-config.xml [compc] F:\hudson\hudson-slave\workspace\flex-tlf\bin\textLayout.swc (508150 bytes) [copy] Copying 1 file to https://builds.apache.org/job/flex-sdk_release/ws/frameworks\libs main: [echo] Compiling frameworks/locale/en_US/textLayout_rb.swc [compc] Loading configuration file F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\projects\textLayout\bundle-config.xml [compc] F:\hudson\hudson-slave\workspace\flex-sdk_release\frameworks\locale\en_US\textLayout_rb.swc (2691 bytes) rpc: bundles-clean: clean: compile: [echo]
Re: [DISCUSS] Alerts and Dialogs in FlexJS
Alex, the mxml for my test case looks like this with minimal attributes: fx:declarations rs:Alert id=alert title=myTitle text=myMessage close=handleAlertClose(event)/ /fx:declarations s:Button label=show alert click=alert.open()/ For a demo of more attributes, have a look at http://riastar.github.io/SkinnablePopUpFx/; it contains a code panel that shows you the required mxml code as you pick values from the UI. This mxml code is the equivalent of: var alert = new Alert(myTitle, myMessage); alert.addEventListener(PopUpEvent.CLOSE, handleAlertClose); alert.show(); In Flex 4 the Alert must go in the 'declarations' block because: a/ the Alert component itself should not be on the displayList yet b/ the Alert mxml tag is now actually the delegate Carlos was referring to (i.e. the AlertDelegate class in my implementation) instead of the real Alert class Max On Sun, Jun 9, 2013 at 6:07 AM, Alex Harui aha...@adobe.com wrote: Sounds interesting. If one of you can sketch out what the MXML would look like, it would help clarify what you're thinking. -Alex On 6/8/13 12:13 PM, Maxime Cowez maxime.co...@gmail.com wrote: @Carlos: Interesting idea. I had already created a Flex 4 implementation of PopUp / Alert that can be used in a declarative way (see https://github.com/RIAstar/SkinnablePopUpFx). I'll see if I can tweak it to leverage your idea; don't think it should be too hard. Max On Sat, Jun 8, 2013 at 4:30 PM, Carlos Rovira carlosrov...@apache.orgwrote: 2013/6/8 Alex Harui aha...@adobe.com Good point, we forgot about that. It might be possible to use includeIn to defer its instantiation or add some other attribute that works like that but isn't tied to states. So from your response seems you're thinking in a state implementation similar to what we have today in flex 4, isn't it? Regarding deferred implementation maybe the proposal could be something like a value object that holds all config properties of the alert dialog (this will be the example posted by Peter) and the show method will be the one that unchains the process of create the UI Object through a static method. So all alerts VOs will be only a proxy that are very light weight and only it will pay as you go when calling show through delegating the work to the class that generates the fat UI object.
Build failed in Jenkins: flex-sdk_mustella #147
See http://localhost:8080/job/flex-sdk_mustella/147/changes Changes: [jmclean] Fixed RTE in tests. It may be that the code in Divider box is incorrect and it confusing no dividers (= no of children-1) and number of children. [jmclean] Corrected spacing. [jmclean] Fix file case issue. [jmclean] fixed RTE when having multiple selections and unselecting first selection via ctrl clicking [aharui] more mustella fixes [aharui] fix another mustella test (another issue with delayed focus) [bigosmallm] Running -failures on Mustella -- [...truncated 7976 lines...] [java] [java] Error: Unable to resolve resource bundle styles for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle SharedResources for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle controls for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle SharedResources for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle controls for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle controls for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle controls for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle core for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle collections for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle formatters for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle SharedResources for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle formatters for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle SharedResources for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle formatters for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle formatters for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle SharedResources for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle collections for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle formatters for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle collections for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle collections for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle SharedResources for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle SharedResources for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle collections for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle core for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle validators for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle formatters for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle SharedResources for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle logging for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle messaging for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle utils for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle messaging for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle controls for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle messaging for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle messaging for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle messaging for locale ja_JP. [java] [java] Error: Unable to resolve resource bundle messaging for locale ja_JP. [java] [java] Error: Unable to resolve resource
online docs
Looks like the online docs (http://flex.apache.org/asdoc/index.html) are incomplete - eg: no spark.skins.mobile package Presumably, JIRA is not the place to report this? -- Lee Burrows ActionScripter
Re: spark.components.Callout
I made a version of the callout. Currently, I am not at my computer, but please search the JIRA for a issue callout for web. As far as I know, it's added to the sdk as experimental component. It should be available as a component in sdk 4.10. Marcus Fritze Am 09.06.2013 um 13:38 schrieb Lee Burrows subscripti...@leeburrows.com: Hi All, I noticed that the spark Callout and CalloutButton are marked in docs (apache and adobe versions) as being AIR only. However, the Callout does work when i publish for web (presumably the CalloutButton will work too). Anybody know if this is just an error in the docs? Or is there a valid reason why its marked as AIR only? -- Lee Burrows ActionScripter
Re: Flex app using images
h.. Any thoughts on this? :-) On Thu, Jun 6, 2013 at 11:12 AM, Deepak MS megharajdee...@gmail.com wrote: Hi there, Just wanted to check if we can built an app in flex by using sliced images(all the screens of the app) from a UI design done in Photoshop(or any UI editing tool), without any performance issues? I have been working on iPad apps by just skinning the components. But sometimes there are some UI designs which are difficult to achieve by skinning. Hence wanted to know if we can extensively use images to build an app in flex. Something like these: http://dribbble.com/shots/172145-Mobile-admin-dashboard-iPad-UI-UX-iOS http://dribbble.com/shots/722800-Experiment-with-Metro-UI/attachments/68300 Kindly let me know what can be the best approach. Cheers, Deepak
Re: online docs
JIRA would be the place to report it. Report it against 4.10 (or whatever the most current version is), because it still seems that that class is missing from the most current build. -Nick On Sun, Jun 9, 2013 at 9:06 AM, Lee Burrows subscripti...@leeburrows.comwrote: Looks like the online docs (http://flex.apache.org/asdoc/**index.htmlhttp://flex.apache.org/asdoc/index.html) are incomplete - eg: no spark.skins.mobile package Presumably, JIRA is not the place to report this? -- Lee Burrows ActionScripter
Jenkins build is back to normal : flex-sdk_asdoc #28
See https://builds.apache.org/job/flex-sdk_asdoc/28/changes
Re: [DISCUSS] Alerts and Dialogs in FlexJS
Hi Maxime, very cool alert spark implementation. I was navigating the source code and have mainly a question about buttons. The eligible buttons in your version are 3 (commit, discard and cancel). In mx alert we have different options (Ok, Cancel, Yes, No). I Think is the only point I miss. Have you considered as well passing styles from a moduleFactory? I think the declaration you provided is what Alex was askin for, nothing to add for my side. I like as well the SkinnablePopUp, something that complements the SkinnablePopUpContainer counterpart. You have plans to integrate with the rest of spark components? Thanks Carlos 2013/6/9 Maxime Cowez maxime.co...@gmail.com Alex, the mxml for my test case looks like this with minimal attributes: fx:declarations rs:Alert id=alert title=myTitle text=myMessage close=handleAlertClose(event)/ /fx:declarations s:Button label=show alert click=alert.open()/ For a demo of more attributes, have a look at http://riastar.github.io/SkinnablePopUpFx/; it contains a code panel that shows you the required mxml code as you pick values from the UI. This mxml code is the equivalent of: var alert = new Alert(myTitle, myMessage); alert.addEventListener(PopUpEvent.CLOSE, handleAlertClose); alert.show(); In Flex 4 the Alert must go in the 'declarations' block because: a/ the Alert component itself should not be on the displayList yet b/ the Alert mxml tag is now actually the delegate Carlos was referring to (i.e. the AlertDelegate class in my implementation) instead of the real Alert class Max On Sun, Jun 9, 2013 at 6:07 AM, Alex Harui aha...@adobe.com wrote: Sounds interesting. If one of you can sketch out what the MXML would look like, it would help clarify what you're thinking. -Alex On 6/8/13 12:13 PM, Maxime Cowez maxime.co...@gmail.com wrote: @Carlos: Interesting idea. I had already created a Flex 4 implementation of PopUp / Alert that can be used in a declarative way (see https://github.com/RIAstar/SkinnablePopUpFx). I'll see if I can tweak it to leverage your idea; don't think it should be too hard. Max On Sat, Jun 8, 2013 at 4:30 PM, Carlos Rovira carlosrov...@apache.orgwrote: 2013/6/8 Alex Harui aha...@adobe.com Good point, we forgot about that. It might be possible to use includeIn to defer its instantiation or add some other attribute that works like that but isn't tied to states. So from your response seems you're thinking in a state implementation similar to what we have today in flex 4, isn't it? Regarding deferred implementation maybe the proposal could be something like a value object that holds all config properties of the alert dialog (this will be the example posted by Peter) and the show method will be the one that unchains the process of create the UI Object through a static method. So all alerts VOs will be only a proxy that are very light weight and only it will pay as you go when calling show through delegating the work to the class that generates the fat UI object. -- Carlos Rovira Director de Tecnología M: +34 607 22 60 05 F: +34 912 94 80 80 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es
[jira] [Created] (FLEX-33586) Packages missing from online asdocs
Lee Burrows created FLEX-33586: -- Summary: Packages missing from online asdocs Key: FLEX-33586 URL: https://issues.apache.org/jira/browse/FLEX-33586 Project: Apache Flex Issue Type: Documentation Components: ASDoc Content Affects Versions: Apache Flex 4.10.0 Environment: Comparing Adobe online docs (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html) and Apache online docs (http://flex.apache.org/asdoc/index.html) Reporter: Lee Burrows Priority: Minor Some spark packages are not listed in asdocs: spark.automation.delegates spark.automation.delegates.components spark.automation.delegates.components.gridClasses spark.automation.delegates.components.mediaClasses spark.automation.delegates.components.supportClasses spark.automation.delegates.skins.spark spark.automation.events spark.skins.mobile spark.skins.mobile.supportClasses spark.skins.wireframe spark.skins.wireframe.mediaClasses spark.skins.wireframe.mediaClasses.fullScreen -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Build failed in Jenkins: flex-sdk_mustella #148
See http://localhost:8080/job/flex-sdk_mustella/148/changes Changes: [jmclean] Fix issue with multi select and ctrl clicking on start and or of date ranges. [bigosmallm] Script to follow up a normal mustella run with -failures is now active -- Started by user anonymous [EnvInject] - Loading node environment variables. Building remotely on WindowsSlave in workspace http://localhost:8080/job/flex-sdk_mustella/ws/ Checkout:flex-sdk_mustella / http://localhost:8080/job/flex-sdk_mustella/ws/ - hudson.remoting.Channel@d6c6ea:WindowsSlave Using strategy: Default Last Built Revision: Revision f8ef963ae1c316aa55a88ff6342b418f231038ca (origin/develop) Fetching changes from 1 remote Git repository Fetching upstream changes from origin Commencing build of Revision 499267ce689eda595954649d6d9559738e45b23c (origin/develop) Checking out Revision 499267ce689eda595954649d6d9559738e45b23c (origin/develop) [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content USER=ApacheFlex TLF_HOME=C:/jenkins_slave/workspace/download-flex-tlf [EnvInject] - Variables injected successfully. [flex-sdk_mustella] $ cmd.exe /C 'ant.bat -Dbuild.noprompt=true ant clean main other.locales exit %%ERRORLEVEL%%' Buildfile: http://localhost:8080/job/flex-sdk_mustella/ws/build.xml BUILD FAILED Target ant does not exist in the project sdk. Total time: 0 seconds Build step 'Invoke Ant' marked build as failure
Re: [DISCUSS] Alerts and Dialogs in FlexJS
On 6/9/13 1:45 PM, Carlos Rovira carlos.rov...@codeoscopic.com wrote: Hi Maxime, very cool alert spark implementation. I was navigating the source code and have mainly a question about buttons. The eligible buttons in your version are 3 (commit, discard and cancel). In mx alert we have different options (Ok, Cancel, Yes, No). I Think is the only point I miss. Have you considered as well passing styles from a moduleFactory? Interesting. Makes me wonder if Alert should be a container for a set of buttons of your choosing. FlexJS will have a minimum of two Alert classes: a simple one that is essentially the JS alert() call, and then something that has a choice of buttons more like mx:Alert. But it could be a container, I suppose. I'm not quite sure what is a delegate about this version of Alert.as. Also, it still gets instantiated at startup if it is in the fx:Declarations as Carlos pointed out, doesn't it? I think the declaration you provided is what Alex was askin for, nothing to add for my side. I like as well the SkinnablePopUp, something that complements the SkinnablePopUpContainer counterpart. You have plans to integrate with the rest of spark components? Thanks Carlos 2013/6/9 Maxime Cowez maxime.co...@gmail.com Alex, the mxml for my test case looks like this with minimal attributes: fx:declarations rs:Alert id=alert title=myTitle text=myMessage close=handleAlertClose(event)/ /fx:declarations s:Button label=show alert click=alert.open()/ For a demo of more attributes, have a look at http://riastar.github.io/SkinnablePopUpFx/; it contains a code panel that shows you the required mxml code as you pick values from the UI. This mxml code is the equivalent of: var alert = new Alert(myTitle, myMessage); alert.addEventListener(PopUpEvent.CLOSE, handleAlertClose); alert.show(); In Flex 4 the Alert must go in the 'declarations' block because: a/ the Alert component itself should not be on the displayList yet b/ the Alert mxml tag is now actually the delegate Carlos was referring to (i.e. the AlertDelegate class in my implementation) instead of the real Alert class Max On Sun, Jun 9, 2013 at 6:07 AM, Alex Harui aha...@adobe.com wrote: Sounds interesting. If one of you can sketch out what the MXML would look like, it would help clarify what you're thinking. -Alex On 6/8/13 12:13 PM, Maxime Cowez maxime.co...@gmail.com wrote: @Carlos: Interesting idea. I had already created a Flex 4 implementation of PopUp / Alert that can be used in a declarative way (see https://github.com/RIAstar/SkinnablePopUpFx). I'll see if I can tweak it to leverage your idea; don't think it should be too hard. Max On Sat, Jun 8, 2013 at 4:30 PM, Carlos Rovira carlosrov...@apache.orgwrote: 2013/6/8 Alex Harui aha...@adobe.com Good point, we forgot about that. It might be possible to use includeIn to defer its instantiation or add some other attribute that works like that but isn't tied to states. So from your response seems you're thinking in a state implementation similar to what we have today in flex 4, isn't it? Regarding deferred implementation maybe the proposal could be something like a value object that holds all config properties of the alert dialog (this will be the example posted by Peter) and the show method will be the one that unchains the process of create the UI Object through a static method. So all alerts VOs will be only a proxy that are very light weight and only it will pay as you go when calling show through delegating the work to the class that generates the fat UI object. -- Carlos Rovira Director de Tecnología M: +34 607 22 60 05 F: +34 912 94 80 80 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es