Return-Path: Delivered-To: apmail-tiles-dev-archive@minotaur.apache.org Received: (qmail 7692 invoked from network); 16 Jan 2010 22:08:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jan 2010 22:08:34 -0000 Received: (qmail 83786 invoked by uid 500); 16 Jan 2010 22:08:34 -0000 Delivered-To: apmail-tiles-dev-archive@tiles.apache.org Received: (qmail 83744 invoked by uid 500); 16 Jan 2010 22:08:34 -0000 Mailing-List: contact dev-help@tiles.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tiles.apache.org Delivered-To: mailing list dev@tiles.apache.org Received: (qmail 83734 invoked by uid 99); 16 Jan 2010 22:08:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2010 22:08:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nbubna@gmail.com designates 209.85.211.195 as permitted sender) Received: from [209.85.211.195] (HELO mail-yw0-f195.google.com) (209.85.211.195) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2010 22:08:26 +0000 Received: by ywh33 with SMTP id 33so1473376ywh.23 for ; Sat, 16 Jan 2010 14:08:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=us8xPRV9zPW5cGKPhBs7CXJY1vIDgGFJdc6wpVZ9Q8o=; b=sgRE7S94p7+EeUBStziolTozTMiVU+SxDsF4yfzOLgn6v8/MKsUmiz+bcP37gcUDdo V1qLNS1I2sJ2mihH8psLiwohQ2KohCeKi/XV5hh0Uq+QIsMzyhgU1TNQdajFbzcReHO1 P18nUxDyuGNTBUdUmW3mI4MqbN/p4koT7p/iw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=wPBYQTYq1NPrDCWDxw8Ia0tTr6ycdMZc1sOO061yi9gWNu5O0TElwxzmrdrsrK/qO+ QoBoI1btcTnPT1R8KuGd6UyGwjcguFk5t53QwrISLPZZfP1ceoPR4slT3JY8lf8GZauM ogc6YsTi5uux+kq1/8sa/Kp7NaAxH/dp733Kc= MIME-Version: 1.0 Received: by 10.90.183.7 with SMTP id g7mr3981100agf.42.1263679685765; Sat, 16 Jan 2010 14:08:05 -0800 (PST) In-Reply-To: References: <4d651da51001161132m80212aah18f710d155825dd1@mail.gmail.com> Date: Sat, 16 Jan 2010 14:08:05 -0800 Message-ID: <4d651da51001161408n7d8d7292s7415ffde963ac31e@mail.gmail.com> Subject: Re: Velocity support: I was completely wrong From: Nathan Bubna To: dev@tiles.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Jan 16, 2010 at 11:42 AM, Antonio Petrelli wrote: > 2010/1/16 Nathan Bubna : >>> Note that the VelocityStyleTilesTool is ok, since it is a *real* tool: >>> http://tiles.apache.org/framework/apidocs/org/apache/tiles/velocity/tem= plate/VelocityStyleTilesTool.html >> >> yep. =A0even if it's API is a bit verbose. ;) > > Why verbose? It's got only 11 methods and 0 or 1 parameter. What are > you referring to? the method names, not the size or complexity of the API. specifically, 9 of 11 methods include the word 'Attribute'. Personally, i would leave that to be implied, especially with things like renderAttribute(Attribute) or cloneAttribute(Attribute) where it is clearly redundant, and shrinking getAttribute(String) to get(String) would enable the much cleaner $tiles.myAttrKey syntax. granted, the explicitness of the current method names offers extra mental clarity/simplicity. i know enough people who prefer that to short and/or overloaded method names, that i'm not dogmatic. i just can't help making comments sometimes. :) >>> IMHO the best thing to do is to delete it, though we released a beta >>> version of the 2.2 series. >> >> i have no love for it. =A0but beta is not alpha. =A0can we deprecate for= a >> version and delete in the subsequent one? > > Sure, it will be deleted in 3.0 > > Thanks > Antonio >