Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA74E9C24 for ; Tue, 6 Mar 2012 08:24:55 +0000 (UTC) Received: (qmail 64527 invoked by uid 500); 6 Mar 2012 08:24:55 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 64482 invoked by uid 500); 6 Mar 2012 08:24:55 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 64465 invoked by uid 99); 6 Mar 2012 08:24:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 08:24:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.47] (HELO mail-pw0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 08:24:45 +0000 Received: by pbbrp12 with SMTP id rp12so4798232pbb.6 for ; Tue, 06 Mar 2012 00:24:24 -0800 (PST) Received-SPF: pass (google.com: domain of justin@classsoftware.com designates 10.68.225.194 as permitted sender) client-ip=10.68.225.194; Authentication-Results: mr.google.com; spf=pass (google.com: domain of justin@classsoftware.com designates 10.68.225.194 as permitted sender) smtp.mail=justin@classsoftware.com Received: from mr.google.com ([10.68.225.194]) by 10.68.225.194 with SMTP id rm2mr58417251pbc.95.1331022264438 (num_hops = 1); Tue, 06 Mar 2012 00:24:24 -0800 (PST) Received: by 10.68.225.194 with SMTP id rm2mr49885071pbc.95.1331022264298; Tue, 06 Mar 2012 00:24:24 -0800 (PST) Received: from [192.168.0.4] (124-149-169-202.dyn.iinet.net.au. [124.149.169.202]) by mx.google.com with ESMTPS id kx17sm15703314pbb.19.2012.03.06.00.24.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Mar 2012 00:24:23 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: mx PostCode validator class From: Justin Mclean In-Reply-To: Date: Tue, 6 Mar 2012 19:24:18 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: <2BC9A2F3-8791-493D-B8F1-AB602B3F506C@classsoftware.com> References: <81652D40-1476-44FE-A8EA-45E846D6AB66@classsoftware.com> <37768E44-3D1A-46B2-963E-BDCDB754478F@classsoftware.com> To: flex-dev@incubator.apache.org X-Mailer: Apple Mail (2.1257) X-Gm-Message-State: ALoCoQlUJ8WbLrCC8Kxi8daJO7Pm83a7hrSFTP4GHk5DJmxLqcbGF03Dx6tSYmQfnCp/TSHPiQtW X-Virus-Checked: Checked by ClamAV on apache.org Hi, > So I haven't found time to learn more about the new g11n methods you = have > to implement to make the Spark validators work. But I'm curious as to = what > the difference is in implementing those methods I think that they by default they report the locale from the OS rather = than the locale the Flex SDK was compiled with. They provide better = support for sorting, position of the negative sign in numbers and a few = other things but not much help with postcodes. Comprehensive overview here: = http://www.adobe.com/devnet/flashplayer/articles/flash_globalization_packa= ge.html > if the setter is used to override the value from ResourceManager, and = then the locale changes at runtime, > then the error won't update=20 I'd think that if you override them then they would be overridden for = all locales and only change when the locale changes if they are not = overridden. I'll add some unit tests and double check what other mx = style validators do. Thanks, Justin=