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 69B59200C1D for ; Thu, 16 Feb 2017 07:46:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6875C160B6F; Thu, 16 Feb 2017 06:46:46 +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 B3F16160B57 for ; Thu, 16 Feb 2017 07:46:45 +0100 (CET) Received: (qmail 62263 invoked by uid 500); 16 Feb 2017 06:46:44 -0000 Mailing-List: contact issues-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 issues@flex.apache.org Received: (qmail 62253 invoked by uid 99); 16 Feb 2017 06:46:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2017 06:46:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 484971A0894 for ; Thu, 16 Feb 2017 06:46:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.998 X-Spam-Level: X-Spam-Status: No, score=-1.998 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id E2gZHuIr9gQF for ; Thu, 16 Feb 2017 06:46:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id DC3AF5F36C for ; Thu, 16 Feb 2017 06:46:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 226D1E02FD for ; Thu, 16 Feb 2017 06:46:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C83452411B for ; Thu, 16 Feb 2017 06:46:41 +0000 (UTC) Date: Thu, 16 Feb 2017 06:46:41 +0000 (UTC) From: "Devsena (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-35268) [FlexJS] MDL - Add/Remove item(s) to TabBar MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Feb 2017 06:46:46 -0000 [ https://issues.apache.org/jira/browse/FLEX-35268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devsena updated FLEX-35268: --------------------------- Attachment: MDLExampleTabsOnly.zip > [FlexJS] MDL - Add/Remove item(s) to TabBar > ------------------------------------------- > > Key: FLEX-35268 > URL: https://issues.apache.org/jira/browse/FLEX-35268 > Project: Apache Flex > Issue Type: Improvement > Affects Versions: Apache FlexJS 0.8.0 > Reporter: Devsena > Attachments: MDLExampleTabsOnly.zip, Untitled.png > > > I have a requirement to add/remove tabs to TabBar component at runtime. > Despite the bracketed binding is fixed now to TabBar, it's failed to update it's view on any update to bindable source; though it's a second big expectation from a binding feature. > I tried to look into the TabBar source and then into {{TabsItemRendererFactoryForArrayData.as}} file. I seen there is a change listener added to the collection/source: > {code}dataProviderModel.addEventListener("dataProviderChanged", dataProviderChangeHandler);{code} > I noticed that changes to the source never fires the above method, though. Thus, I forcibly dispatches the event after any changes to the source, i.e. addition to the source, that does adds a new tab like block to the TabBar component, but without any working functionality to it. > !Untitled.png! > In above image, "CHIPS" added after a button click event, but I noticed it gets added without mdl tab styles on it. Furthermore, the TabBar seems completely broken, no section change occur, no selected tab style occur (the red line beneath the selected tab), and clicking any particular tab add the 'tabId' to the address bar (as shown in the image). > I've attaching herewith a basic TabBar project which has 3 buttons - to modify an entry, remove an entry and add an entry to the TabBar component. TabBar's data source is done in a fashioned manner with bracketed binding. > Thanks! -- This message was sent by Atlassian JIRA (v6.3.15#6346)