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 CB1699CFD for ; Tue, 10 Apr 2012 19:08:52 +0000 (UTC) Received: (qmail 7358 invoked by uid 500); 10 Apr 2012 19:08:52 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 7326 invoked by uid 500); 10 Apr 2012 19:08:52 -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 7318 invoked by uid 99); 10 Apr 2012 19:08:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 19:08:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.167.159.180] (HELO mail.digitalprimates.net) (66.167.159.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 19:08:44 +0000 Received: from DPSBS1.digitalprimates.local ([fe80::5823:d1b4:86c2:3ad0]) by DPSBS1.digitalprimates.local ([fe80::5823:d1b4:86c2:3ad0%22]) with mapi id 14.01.0289.001; Tue, 10 Apr 2012 14:08:22 -0500 From: "Michael A. Labriola" To: "flex-dev@incubator.apache.org" Subject: ComboBox Selection (was: combo box) Thread-Topic: ComboBox Selection (was: combo box) Thread-Index: Ac0XTHjLt73Ium9GQLSN8g+0FL6GlQ== Date: Tue, 10 Apr 2012 19:08:21 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.254.61] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 >Is there a possibility to add this feature to ComboBox? Dany, It could certainly be added, but I would like you to consider thinking abou= t it a different way. Rather than adding more heft to the base component, w= e could add another object that interacted with the ComboBox to facilitate = that selection for you. This could be done a number of different ways. This= is one way I have implemented it and something I want to discuss here. It is the idea of adding behaviors to items, so, in my approach, I have som= ething like a ComboBox: In this way we have just defined an interface for the Behavior classes and = a minimal extension to UIComponent for a property and registration step. Ho= wever, we have enable people to add a pay as you go approach to adding beha= vior to components. It's something that has worked well for us and, eventua= lly, I would like us to consider here as it has made extending and adding t= o Flex without bloating all of the base components much easier. Mike