Return-Path: Delivered-To: apmail-click-dev-archive@www.apache.org Received: (qmail 24429 invoked from network); 26 Mar 2010 09:26:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Mar 2010 09:26:37 -0000 Received: (qmail 61316 invoked by uid 500); 26 Mar 2010 09:26:37 -0000 Delivered-To: apmail-click-dev-archive@click.apache.org Received: (qmail 61264 invoked by uid 500); 26 Mar 2010 09:26:37 -0000 Mailing-List: contact dev-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@click.apache.org Delivered-To: mailing list dev@click.apache.org Received: (qmail 61257 invoked by uid 99); 26 Mar 2010 09:26:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 09:26:36 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FREEMAIL_FROM,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcwcd-click-development-2@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 09:26:28 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nv5nr-0002VJ-8Y for dev@click.apache.org; Fri, 26 Mar 2010 10:26:07 +0100 Received: from 85.121.188.71 ([85.121.188.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Mar 2010 10:26:07 +0100 Received: from a.adrian.tech by 85.121.188.71 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Mar 2010 10:26:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@click.apache.org From: "Adrian A." Subject: Re: Bindable configuration difficulties Date: Fri, 26 Mar 2010 10:25:48 +0100 Lines: 32 Message-ID: References: <4BABE7CE.5010206@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.121.188.71 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 In-Reply-To: <4BABE7CE.5010206@gmail.com> > The new @Bindable feature seems to create a bit of confusion because of > the new autobinding="annotation" configuration. If I recall well, the same confusion was too when the binding to public fields feature was introduced :). I don't think this "confusion" has to do with the binding type or if it's default configured or not, but with the binding concept in itself. Maybe some sort of simple graphical illustration (not just UML) of the concept would help more :) (for both binding types). I like that public field binding feature however quite much, because it's quite practical: - most of the time, there's no reason for public fields in a page, so (once this concept known), it's clear that if a public field is there, it must be auto-bound :). Even more, a Click user reported that is writing a simple IDE (IntelliJ and NB too if I remember) improvement to highlight public fields if they're present in a Page class descent, so regarding "readability", the annotation version won't be more "visible" than the old style binding. > I think autobinding > should be changed so that the @Bindable annotation is recognized by > default, instead of having to explicitly enable it. > > Any thoughts on this change? If this is made by default, in the upgrade-path this change should be mentioned distinctively, since most applications (at least those I saw so far) still use the public field binding approach. Adrian.