Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 66984 invoked from network); 7 Apr 2004 11:53:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Apr 2004 11:53:20 -0000 Received: (qmail 24387 invoked by uid 500); 7 Apr 2004 11:53:08 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 24354 invoked by uid 500); 7 Apr 2004 11:53:08 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 24324 invoked from network); 7 Apr 2004 11:53:07 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by daedalus.apache.org with SMTP; 7 Apr 2004 11:53:07 -0000 X-Sasl-enc: S4hq0MFgKRKZS7MoLbAjhQ 1081338474 Received: from upaya.co.uk (unknown [213.48.13.39]) by www.fastmail.fm (Postfix) with ESMTP id 0A9C699204F for ; Wed, 7 Apr 2004 07:47:53 -0400 (EDT) Message-ID: <4073EA3C.9020000@upaya.co.uk> Date: Wed, 07 Apr 2004 12:47:08 +0100 From: Upayavira User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: From based wizard References: <20040406145159.7941.qmail@hp1.pomoshnik.ru> <4072C614.20500@upaya.co.uk> <20040407113137.82163.qmail@hp1.pomoshnik.ru> In-Reply-To: <20040407113137.82163.qmail@hp1.pomoshnik.ru> Content-Type: text/plain; charset=windows-1251; format=flowed 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 Timur Izhbulatov wrote: > Upayavira wrote: > >> Timur Izhbulatov wrote: >> >>> Hi All! >>> I develop a simple client management application but I'm pretty new >>> to all this cocoon and java stuff. >>> My task in hand is to create a step-by-step wizard for registering >>> clients. I took a look at cocoon samples but still can't realize >>> which way to chose. >>> Requirments and conditions: >>> - To add a client the user have to fill and submit a form (or series >>> of forms) >>> - The form encoding should be UTF-8 'cause it has to deal with >>> non-english data (names, titles etc.) so I use the folowing serializer: >>> >>> >> mime-type="text/html" name="html" pool-grow="4" pool-max="32" >>> pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer"> >>> -//W3C//DTD HTML 4.01 >>> Transitional//EN >>> >>> http://www.w3.org/TR/html4/loose.dtd >>> UTF-8 >>> >>> - The data are kept in xindice-embed:///db/caclient/ collection. >>> Each resource in the collection represents a single client. >>> I have working database browsing at the moment but I have to add >>> each resource by hand. >>> Any advice would very appreciated! >> >> >> One pointer - the XMLDBSource is 'Modifiable', which means that it >> can be written to. Therefore, if you look at the CForms binding code >> in the CForms samples, you can actually bind a CForms form to a >> document within Xindice. This should make writing a forms site that >> stores its data in Xindice pretty easy - just replace the file URL >> with an XMLDB one. > > > Thanks a lot! I just realized that CForms is just a new name for woody =) Okay. CForms isn't included in a released Cocoon. Sorry for the confusion. > It's no wonder that I can't find any useful mention of it on apache.org. Hah! > So should I refer to woody docs/samples? Or where could I find CForms > samples? No, look at the Woody samples, particularly the binding ones. > I'm running cocoon 2.1.4 and it has woody samples but no CForms ones. Yup, correct. 2.1.5 will have CForms in it, when released. > P.S. Woody is marked as unstable and therefore it's somehow confusing Yup. Unstable in terms of API, not necessarily code quality. Surely a rename from Woody to CForms counts as an instability? ;-) Anyway, Woody/CForms are still under development, and it will take some time longer before the developers will be willing to consider its interface to be stable. Therefore, if you choose to use it, you'll have to be prepared to keep your code up to date as it changes. Regards, Upayavira --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org