Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 53302 invoked from network); 11 Aug 2004 08:26:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Aug 2004 08:26:19 -0000 Received: (qmail 43943 invoked by uid 500); 11 Aug 2004 08:26:13 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 43841 invoked by uid 500); 11 Aug 2004 08:26:13 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 43826 invoked by uid 99); 11 Aug 2004 08:26:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [212.85.125.162] (HELO v07274.home.net.pl) (212.85.125.162) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 11 Aug 2004 01:26:12 -0700 Received: from gprs8.idea.pl (HELO ?172.20.217.226?) (lgawron.mobilebox@home@217.116.100.250) by matrix15.home.net.pl with SMTP; 11 Aug 2004 08:25:31 -0000 Message-ID: <4119D7F6.7040606@mobilebox.pl> Date: Wed, 11 Aug 2004 10:25:26 +0200 From: Leszek Gawron User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: why JXTG sucks? was: FreeMarker integration References: <802926B6AB8533408C33ADBCA3EE5C2A138BED@coso.staff.vuw.ac.nz> <4119D236.7050808@mobilebox.pl> <573FC1EC-EB6E-11D8-BE1E-000A95DC4186@apache.org> In-Reply-To: <573FC1EC-EB6E-11D8-BE1E-000A95DC4186@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ugo Cei wrote: > Il giorno 11/ago/04, alle 10:00, Leszek Gawron ha scritto: > >> - I end up inserting a wiki parser in user session and referencing it >> in jx template via: >> ${cocoon.session.wikify( activity.task.project.description, >> cocoon.consumer) } >> Same for any other formatter or presentational macro (like link >> decorator) > > > A possible solution would be to write a WikifyingTransformer and put it > after the JXTG in the pipeline. Wouldn't this be cleaner or am I missing > something? > > Ugo > fine for a single formatter, a nightmare if you end up with 10 or so. Even with one you have to be sure to transform your every view with your new transformer. And what about performance issues? Wouldn't this slow rendering down? -- Leszek Gawron lgawron@mobilebox.pl Chief Technology Officer MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65