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 EF27E200BF8 for ; Fri, 13 Jan 2017 20:43:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EDCC7160B47; Fri, 13 Jan 2017 19:43:29 +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 433D4160B2E for ; Fri, 13 Jan 2017 20:43:29 +0100 (CET) Received: (qmail 10180 invoked by uid 500); 13 Jan 2017 19:43:28 -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 10171 invoked by uid 99); 13 Jan 2017 19:43:28 -0000 Received: from Unknown (HELO jira-lw-us.apache.org) (207.244.88.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2017 19:43:28 +0000 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 7C4A125283 for ; Fri, 13 Jan 2017 19:43:26 +0000 (UTC) Date: Fri, 13 Jan 2017 19:43:26 +0000 (UTC) From: "Alex Harui (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FLEX-35236) Binding is not working when [Bindable] is set for the class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 13 Jan 2017 19:43:30 -0000 [ https://issues.apache.org/jira/browse/FLEX-35236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Harui resolved FLEX-35236. ------------------------------- Resolution: Fixed Assignee: Alex Harui Fix Version/s: Apache FalconJX 0.8.0 448df176471251106639ea2c2af52d8c77bf54f0 > Binding is not working when [Bindable] is set for the class > ----------------------------------------------------------- > > Key: FLEX-35236 > URL: https://issues.apache.org/jira/browse/FLEX-35236 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS > Affects Versions: Apache FlexJS 0.8.0 > Reporter: Piotr Zarzycki > Assignee: Alex Harui > Priority: Minor > Fix For: Apache FalconJX 0.8.0 > > > Binding is not working when [Bindable] tag is set up for the class. If data source of some control will contains value objects with following code: > {code} > [Bindable] > public class MenuItemVO > { > public var label:String; > public var disabled:Boolean; > public var hasDivider:Boolean; > public function MenuItemVO(label:String, hasDivider:Boolean = false, disabled:Boolean = false) > { > this.label = label; > this.hasDivider = hasDivider; > this.disabled = disabled; > } > } > {code} > Workaround is to set up [Bindable] for each property in value object: > {code} > public class MenuItemVO > { > [Bindable] > public var label:String; > [Bindable] > public var disabled:Boolean; > [Bindable] > public var hasDivider:Boolean; > public function MenuItemVO(label:String, hasDivider:Boolean = false, disabled:Boolean = false) > { > this.label = label; > this.hasDivider = hasDivider; > this.disabled = disabled; > } > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)