Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 83647 invoked from network); 17 Oct 2003 16:03:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Oct 2003 16:03:48 -0000 Received: (qmail 65919 invoked by uid 500); 17 Oct 2003 16:03:32 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 65862 invoked by uid 500); 17 Oct 2003 16:03:32 -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 65786 invoked from network); 17 Oct 2003 16:03:31 -0000 Received: from unknown (HELO zentrale.imkenberg.com) (212.48.115.35) by daedalus.apache.org with SMTP; 17 Oct 2003 16:03:31 -0000 Received: from localhost (localhost [127.0.0.1]) by zentrale.imkenberg.com (Postfix) with ESMTP id 6423B2941AC; Fri, 17 Oct 2003 18:30:41 +0200 (CEST) Received: from zentrale.imkenberg.com ([127.0.0.1]) by localhost (zentrale.iberg.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17831-02; Fri, 17 Oct 2003 18:30:36 +0200 (CEST) Received: from mx.imkenberg.de (imkedvpdc [10.0.1.1]) by zentrale.imkenberg.com (Postfix) with ESMTP id 2F7012941A6; Fri, 17 Oct 2003 18:30:36 +0200 (CEST) Received: by imkedv_pdc with Internet Mail Service (5.5.2650.21) id <45DZ4BN0>; Fri, 17 Oct 2003 17:51:36 +0200 Message-ID: From: Jianyu Wang To: dev@cocoon.apache.org Cc: sylvain.wallez@anyware-tech.com Subject: about the function process of Form Class in lastest version Woody Date: Fri, 17 Oct 2003 17:51:34 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by IAntivirus at zenrale 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 hello Sylvain I have a question about the function process(FormContext) in Form. at first, I don=B4t use the standard woody2.js, also I mean I use my = way to build a form(maybe here is the problem?), it runs correctly by older = woody which using formhandler pattern. now I use actionlistener pattern and in my party.xml(for example) like = this: submit and the DefaultActionListener will do something with database. and in js(flow script) file I done like this: cocoon.sendPageAndWait("party-display-pipeline",{},0); iform.process( converter.FomToEnviroment(cocoon) ); =20 iform.process means form.process which by woody form class. So now I have the problem, before validate the DefaultActionListener = has reflected with the submit action and communicates with database.=20 Do you know how about the problem, is it a bug, or I must use the = standard and then resolve the problem, or I have other way to deal with it? Regards Jianyu please send me to wjianyu@arcor.de when allright.