Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7EB2A10BDC for ; Mon, 14 Oct 2013 00:46:26 +0000 (UTC) Received: (qmail 40096 invoked by uid 500); 14 Oct 2013 00:46:26 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 40073 invoked by uid 500); 14 Oct 2013 00:46:26 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 40065 invoked by uid 99); 14 Oct 2013 00:46:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Oct 2013 00:46:26 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aharui@adobe.com designates 64.18.1.189 as permitted sender) Received: from [64.18.1.189] (HELO exprod6og105.obsmtp.com) (64.18.1.189) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Oct 2013 00:46:17 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob105.postini.com ([64.18.5.12]) with SMTP ID DSNKUls+w2WkL9u7Ta0uTi6K56tHIV/WbU02@postini.com; Sun, 13 Oct 2013 17:45:57 PDT Received: from inner-relay-1.corp.adobe.com (inner-relay-1.sea.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r9E0jrQu023784 for ; Sun, 13 Oct 2013 17:45:53 -0700 (PDT) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r9E0jq6A022316 for ; Sun, 13 Oct 2013 17:45:52 -0700 (PDT) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nacas03.corp.adobe.com ([10.8.189.121]) with mapi; Sun, 13 Oct 2013 17:45:52 -0700 From: Alex Harui To: "users@flex.apache.org" Date: Sun, 13 Oct 2013 17:45:47 -0700 Subject: Re: RadioButtonGroup Thread-Topic: RadioButtonGroup Thread-Index: Ac7Idru2XFInhx0QSM6xqCGfzV2Z8g== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.6.130613 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Not sure what you mean. How are you doing it now. -Alex On 10/13/13 10:13 AM, "mark goldin" wrote: >But how would I bind radiogroups to a model if they wont have "visible" >ids? > > >On Sat, Oct 12, 2013 at 12:18 AM, Alex Harui wrote: > >> Binding is internal to a set of instances in an MXML instance. >> FocusManager looks everywhere. So unfortunately, that means you can't >>use >> MXML as a template for stamping out copies of radiobuttons. >> >> I would use groupName and set it somehow. >> >> -Alex >> ________________________________________ >> From: mark goldin [markzolotoy@gmail.com] >> Sent: Friday, October 11, 2013 2:18 PM >> To: users >> Subject: RadioButtonGroup >> >> I am using the following design pattern from docs for all >> RadioButtonGroups: >> >> >> > itemClick=3D"handleCard(event);"/> >> >> >> >> > id=3D"americanExpress" >> label=3D"American Express" >> width=3D"150"/> >> > id=3D"masterCard" >> label=3D"MasterCard" >> width=3D"150"/> >> > id=3D"visa" >> label=3D"Visa" >> width=3D"150"/> >> >> >> It all works fine. But here is a problem. It looks like if the same id >> is used on different screens then it's going to be the at run time >> which causes problems with tabbing. If I tab from a RadioButtonGroup >> to another control but somewhere on the screen there is another >> RadioButtonGroup the control goes to that RadioButtonGroup. I am also >> not sure how binding is working either since it's the same id that a >> mode property is bound to. But two different controls. Any thoughts? >>