Return-Path: Delivered-To: apmail-tiles-dev-archive@locus.apache.org Received: (qmail 22880 invoked from network); 6 Feb 2008 12:43:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2008 12:43:00 -0000 Received: (qmail 23630 invoked by uid 500); 6 Feb 2008 12:42:52 -0000 Delivered-To: apmail-tiles-dev-archive@tiles.apache.org Received: (qmail 23604 invoked by uid 500); 6 Feb 2008 12:42:52 -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 23595 invoked by uid 99); 6 Feb 2008 12:42:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 04:42:52 -0800 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 antonio.petrelli@gmail.com designates 209.85.146.183 as permitted sender) Received: from [209.85.146.183] (HELO wa-out-1112.google.com) (209.85.146.183) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 12:42:37 +0000 Received: by wa-out-1112.google.com with SMTP id m16so568292waf.14 for ; Wed, 06 Feb 2008 04:42:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=d9jDziorkWx/j8X3eT8DCwlr49MXdNQRYOzCqIVAx+c=; b=bBnGfW9cflu5oUsuAplJYfVVOg/9GUawgj5eImVox8Y1wLA4hDrc9BKyhpcMIoznF3BWTf/6fizj0bKQqIse2wzBXSdT79LBswPmld1OBgdXLTau4xJxfJVx46EZQwiWsogOdR8aw8+QYzDaBt91PthZC0ZgbwnfQCk08l5/6Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AUeFe2nNKo2/8G24NyaOHzPOYzYgQPoVrWdZCPeKGdv+u8MimnBpqKXNFruL+nHT5Y7egZwjwTLDCZ2MuDZ+f5UNRkvUXP1AqpvmSH+S59OoDp+5ZAdb9eclC1SKCGA161ZyFZ6+vfNbesEbaDB+5CPM2/gXEUDztK5bYMhvxss= Received: by 10.114.167.2 with SMTP id p2mr950100wae.78.1202301749215; Wed, 06 Feb 2008 04:42:29 -0800 (PST) Received: by 10.114.208.9 with HTTP; Wed, 6 Feb 2008 04:42:29 -0800 (PST) Message-ID: Date: Wed, 6 Feb 2008 13:42:29 +0100 From: "Antonio Petrelli" To: dev@tiles.apache.org Subject: Re: Attribute-level extension point In-Reply-To: <47a99e78.0269300a.4f61.0106@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47a99e78.0269300a.4f61.0106@mx.google.com> X-Virus-Checked: Checked by ClamAV on apache.org 2008/2/6, Oleg Gorobets : > I guess we can start without "attribute type" and simply implement the > configurable renderer, which receive a String (defining the value of > attribute) and current attribute context. +1. Notice that the attribute value is an Object, though it is a string most of the time. > Later it can be extended with the attribute type. At this point the concept of "attribute type" can be dropped, in favour of the attribute renderer: in fact, the attribute type is used only to render it correctly. > I'll try to help with this, but I'm not so familiar with > the existing design... I'll look into it if I find with the solution I'll > share it with you. Thanks :-) Feel free to attach your (eventual) work in TILES-190 or in TILES-247, dependending on where it is appropriate. Ciao Antonio