Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 11492 invoked from network); 26 Apr 2004 09:00:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Apr 2004 09:00:20 -0000 Received: (qmail 51888 invoked by uid 500); 26 Apr 2004 08:59:28 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 51696 invoked by uid 500); 26 Apr 2004 08:59:27 -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 51610 invoked from network); 26 Apr 2004 08:59:26 -0000 Received: from unknown (HELO poros.telenet-ops.be) (195.130.132.44) by daedalus.apache.org with SMTP; 26 Apr 2004 08:59:26 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by poros.telenet-ops.be (Postfix) with SMTP id 3F2DF368096 for ; Mon, 26 Apr 2004 10:59:39 +0200 (MEST) Received: from [192.168.123.100] (D5774E46.kabel.telenet.be [213.119.78.70]) by poros.telenet-ops.be (Postfix) with ESMTP id 226FD368068 for ; Mon, 26 Apr 2004 10:59:39 +0200 (MEST) Subject: Re: [cforms] refactoring questions (was Re: cvs commit: cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel Struct.java Messages.java Repeater.java MultiValueField.java AbstractContainerWidget.java Output.java Upload.java Action.java Form.java ContainerDelegate.java AbstractWidget.java Field.java Union.java BooleanField.java Widget.java) From: Bruno Dumon To: dev@cocoon.apache.org In-Reply-To: <408CBF65.3040901@apache.org> References: <20040420221928.11898.qmail@minotaur.apache.org> <4085A446.5050103@outerthought.org> <408BB8D1.4020409@apache.org> <1082903053.4332.212.camel@yum.ot> <408CBF65.3040901@apache.org> Content-Type: text/plain Organization: Outerthought Message-Id: <1082969987.2642.12.camel@23.13 yum.ot yum Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 26 Apr 2004 10:59:47 +0200 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 2004-04-26 at 09:51, Sylvain Wallez wrote: > Bruno Dumon wrote: > > >On Sun, 2004-04-25 at 15:10, Sylvain Wallez wrote: > >>Note that I'd like also that could be written in the definition also, as defining the styling in the widget definition can be a productivity boost with widget repositories! > >> > >> > > > >Should be trivial to store this in the form definition. > > > > > > Yep. But this brings some namespace-related questions: "styling" is > obviously in the instance namespace ("fi"), but if we introduce some > "fi:" in the definition, what about "label"? The CForms machinery does > nothing with it except copying it in the template output, so we may > consider moving it also to the "fi" namespace. +1 label has been put in the definition only because it was thought to be convenient. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center bruno@outerthought.org bruno@apache.org