Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ADA027531 for ; Tue, 26 Jul 2011 13:48:25 +0000 (UTC) Received: (qmail 44989 invoked by uid 500); 26 Jul 2011 13:48:25 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 44967 invoked by uid 500); 26 Jul 2011 13:48:24 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 44959 invoked by uid 99); 26 Jul 2011 13:48:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2011 13:48:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.159.29.9] (HELO mailstore05.sysedata.no) (195.159.29.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2011 13:48:16 +0000 Received: from [195.159.98.68] (helo=[10.0.1.175]) by mailstore05.sysedata.no with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QlhzH-0006hT-3f for user@pivot.apache.org; Tue, 26 Jul 2011 15:47:55 +0200 Message-ID: <4E2EC58B.1090209@syse.no> Date: Tue, 26 Jul 2011 15:47:55 +0200 From: SYSE | Edvin Organization: SYSE User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: user@pivot.apache.org Subject: Is it possible to do setAttribute() with BXML? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I want to set an attribute on certain elements I've declared in a BXML file: Instead of doing: label.setAttribute(MyEnum.MyEnumValue, "myValue"); in Java-code, I would like to set the attribute from BXML: Is this possible?