Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 83346200BF1 for ; Tue, 3 Jan 2017 13:13:21 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 81DFD160B43; Tue, 3 Jan 2017 12:13:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CD49C160B33 for ; Tue, 3 Jan 2017 13:13:20 +0100 (CET) Received: (qmail 19087 invoked by uid 500); 3 Jan 2017 12:13:20 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 19072 invoked by uid 99); 3 Jan 2017 12:13:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2017 12:13:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 456A1C0361 for ; Tue, 3 Jan 2017 12:13:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.737 X-Spam-Level: *** X-Spam-Status: No, score=3.737 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id guiNd14sYbGK for ; Tue, 3 Jan 2017 12:13:18 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7C3A35F3BD for ; Tue, 3 Jan 2017 12:13:18 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 217A1956FCE1 for ; Tue, 3 Jan 2017 05:13:17 -0700 (MST) Date: Tue, 3 Jan 2017 03:56:38 -0800 (PST) From: piotrz To: dev@flex.apache.org Message-ID: <1483444598558-57816.post@n4.nabble.com> Subject: [FlexJS,MDL][Discuss] Tabs, TabBar with dataProvider+itemRenderer API MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 03 Jan 2017 12:13:21 -0000 Hi, I've started to think about dataProvider+itemRenderer API in Tabs, TabBar. Our current code in example look like -> https://paste.apache.org/X8cL I see following options: 1) Add to "Tabs" following properties - dataProvider - tabsRenderer - tabBarButtonRenderer "Tabs" view will generate all subcomponents. 2) Add to "Tabs" properties - dataProvider - tabsRenderer Add to "TabBar" properties - dataProvider - tabBarButtonRenderer Generated TabBar with TabBarButtons will have be at some point connected with TabBarPanel - I think it should be achieved by VO in dataProviders. Any thoughts to which path I should go ? Piotr ----- Apache Flex PMC piotrzarzycki21@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Discuss-Tabs-TabBar-with-dataProvider-itemRenderer-API-tp57816.html Sent from the Apache Flex Development mailing list archive at Nabble.com.