Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 96672 invoked from network); 13 May 2004 18:39:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 May 2004 18:39:58 -0000 Received: (qmail 94024 invoked by uid 500); 13 May 2004 18:40:14 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 93919 invoked by uid 500); 13 May 2004 18:40:14 -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 93904 invoked by uid 98); 13 May 2004 18:40:14 -0000 Received: from joerg.heinicke@gmx.de by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(213.165.64.20):. Processed in 0.35754 secs); 13 May 2004 18:40:14 -0000 X-Qmail-Scanner-Mail-From: joerg.heinicke@gmx.de via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(213.165.64.20):. Processed in 0.35754 secs) Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by hermes.apache.org with SMTP; 13 May 2004 18:40:13 -0000 Received: (qmail 21447 invoked by uid 65534); 13 May 2004 18:39:46 -0000 Received: from a183069.studnetz.uni-leipzig.de (EHLO gmx.de) (139.18.183.69) by mail.gmx.net (mp025) with SMTP; 13 May 2004 20:39:46 +0200 X-Authenticated: #3483660 Message-ID: <40A3C104.3000707@gmx.de> Date: Thu, 13 May 2004 20:40:04 +0200 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de-de, de, en-us, en-gb, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [heads up] [cforms] fi:styling/@type="output" ignored on widg ets with datatype=date. References: <40A231E5.8050308@outerthought.org> <40A29E3B.4060300@apache.org> <40A2A290.4060603@gmx.de> <40A3283C.80009@apache.org> In-Reply-To: <40A3283C.80009@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On 13.05.2004 09:48, Sylvain Wallez wrote: > > > > ... calendar popup ... > > > > > > > > OOP inheritance applied to XSLT! I chose the old template selection style by complicating the matching pattern. It makes no real difference whether adding xsl:when test inside or changing the matching pattern. But I had an ICQ session yesterday with Claas Thiele about JSF/Cocoon render manager/kit stuff. At the end it is obvious IMO: the cforms stylesheets simply miss a separation of renderer selection and rendering itself. At the moment we put the template selection into the match patterns and the rendering into the templates. The match patterns can therefore become complicated fast. If we put parts of the template selection into the template as it is done in the above sample it might get even worse - despite OOP inheritance. The render manager solves this by selecting the renderers - even directory based similar to the i18n transformer selecting the catalogue to use. Joerg