Return-Path: Delivered-To: apmail-pivot-dev-archive@www.apache.org Received: (qmail 83132 invoked from network); 2 Jul 2010 21:59:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jul 2010 21:59:36 -0000 Received: (qmail 19418 invoked by uid 500); 2 Jul 2010 21:59:36 -0000 Delivered-To: apmail-pivot-dev-archive@pivot.apache.org Received: (qmail 19354 invoked by uid 500); 2 Jul 2010 21:59:35 -0000 Mailing-List: contact dev-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pivot.apache.org Delivered-To: mailing list dev@pivot.apache.org Received: (qmail 19346 invoked by uid 99); 2 Jul 2010 21:59:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 21:59:35 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 66.225.200.240 is neither permitted nor denied by domain of msa@allman.ms) Received: from [66.225.200.240] (HELO c3p0.reverse.net) (66.225.200.240) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 21:59:27 +0000 Received: by c3p0.reverse.net (Postfix, from userid 556) id D0BBA5AC9; Fri, 2 Jul 2010 16:57:51 -0500 (CDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) X-Spam-Relay-Country: X-Spam-Level: Received: from localhost (localhost.reverse.net [127.0.0.1]) by c3p0.reverse.net (Postfix) with ESMTP id 28DD85AFF for ; Fri, 2 Jul 2010 16:57:48 -0500 (CDT) X-Virus-Scanned: amavisd-new at c3p0.reverse.net Received: from c3p0.reverse.net ([127.0.0.1]) by localhost (c3p0.reverse.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WOYV6GISfeC3 for ; Fri, 2 Jul 2010 16:57:47 -0500 (CDT) Received: from localhost.reverse.net (localhost.reverse.net [127.0.0.1]) by c3p0.reverse.net (Postfix) with ESMTP id CE2F45AC9 for ; Fri, 2 Jul 2010 16:57:47 -0500 (CDT) Date: Fri, 2 Jul 2010 14:57:47 -0700 (PDT) From: Michael Allman To: dev@pivot.apache.org Subject: Re: WTKXSerializer -> BeanSerializer In-Reply-To: <77BBA80F-72B6-40DC-88A1-154691128DB7@mac.com> Message-ID: <20100702143925.P86727@p3c0.erirefr.arg> References: <77BBA80F-72B6-40DC-88A1-154691128DB7@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=0.0 required=6.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 On Mon, 19 Apr 2010, Greg Brown wrote: > The fact that WTKXSerializer doesn't have any dependencies on WTK is > almost a strong enough argument on its own to move it to pivot-core. Maybe it should? WTKX and WTKXSerializer are very elegant in their simplicity, but they aren't as convenient as they could be for UI markup. And that's what WTKX is for, right? One thing that's been bugging me as I work on my first Pivot project is the verbosity of specifying styles on elements. Why can't styles be specified as attributes on the element in their own right? Instead of how about ? The latter syntax is significantly more compact and IMHO much more readable. Of course, there's no reason the current syntax for settings styles couldn't be retained. To handle this syntax, the parser could look for a skin property matching an attribute name if the component itself has no such property. Cheers, Michael