Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 13033 invoked from network); 13 Mar 2000 14:58:51 -0000 Received: from relay.intercom.es (root@212.66.160.20) by locus.apache.org with SMTP; 13 Mar 2000 14:58:51 -0000 Received: from lix.intercom.es (root@lix.intercom.es [212.66.160.2]) by relay.intercom.es (8.9.3/8.9.3) with ESMTP id PAA16579 for ; Mon, 13 Mar 2000 15:45:49 +0100 Received: from bcnlab (as2-ppp162.intercom.es [212.66.181.162]) by lix.intercom.es (8.9.3/8.9.3) with SMTP id QAA14254 for ; Mon, 13 Mar 2000 16:07:20 +0100 Message-ID: <014d01bf8cfc$9bff24a0$a2b542d4@bcnlab> From: "Angel Faus" To: References: Subject: RE: Some thoughts about XMLForms and symmetry on Cocoon Date: Mon, 13 Mar 2000 15:58:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > Donald and I have just agreed to collaborate in developing a proposal for an XSP > TagLib to implement some of what you are proposing with regard to Form handling, > building, checking, processing, storing etc. > > Whether we are successful or not will be another issue :) > > My hope is that this will result in a generic TagLib that will considerably > assist the whole process of having HTML Forms on Cocoon sites, for whatever > purpose. Further that this TagLib will embody good design practise in terms of > the separation of contracts ... logic, content, style. > > Your suggestions are useful, it helps me understand what this thing needs to do > to be truly a generic solution. > > I will wait anxiously your proposal... :) My humble suggestion would be to differentiate whether the forms are used to create a XML document, or to edit a existing one. In the second case, what i was suggesting is to separate in different files the "view" definition (what is the user allowed to edit); the style (xslt) and the default values of the form (this would be decided in the dynamic xsp file). This means further separation that just logic/content/style. The benefit of having the view stored in a different file is reusability and a new level of abstraction, specially in the context of a "authoring suite" i was suggesting. Thanks for your attention. Angel Faus.