Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 5032 invoked from network); 21 Apr 2004 22:26:36 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Apr 2004 22:26:36 -0000 Received: (qmail 50573 invoked by uid 500); 21 Apr 2004 22:26:13 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 50551 invoked by uid 500); 21 Apr 2004 22:26:13 -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 50502 invoked from network); 21 Apr 2004 22:26:12 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 21 Apr 2004 22:26:12 -0000 Received: (qmail 19194 invoked by uid 65534); 21 Apr 2004 22:26:18 -0000 Received: from a183069.studnetz.uni-leipzig.de (EHLO gmx.de) (139.18.183.69) by mail.gmx.net (mp023) with SMTP; 22 Apr 2004 00:26:18 +0200 X-Authenticated: #3483660 Message-ID: <4086F509.1070001@gmx.de> Date: Thu, 22 Apr 2004 00:26:17 +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: users@cocoon.apache.org Subject: Re: Flow->Woody->Event->Woody... possible? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; 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 On 21.04.2004 07:45, Steve Steinitz wrote: >>I had the same problem yesterday too: >>http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108238973125352&w=4 >>and fixed it by changing the order of the form widgets in the definition. >> >>Furthermore my form.submitId was also null at the end, while >>form.getSubmitWidget().getId() returned the correct value. >> >>Does this help? > > Yes, thank you. In our flowscript we use a woody2.js Form so we > can use 'form.form' to get the java form within and so can write > > if ("remove".equals(form.form.getSubmitWidget().getId())) > > and all is good. > > Note that so far we have been blissfully unaware of any symptoms > from the problem Marc alluded to: "I really don't know what the > event-call on the continuations stack will do if you call showForm > from inside the event-handling" but we are on alert. Yes, my comment was completely unrelated to the possible problem Marc mentioned. It was only about an undefined form.submitId - while I'm really interested why form.submitId is different from from.getSubmitWidget().getId(), but I had no look into it until now. Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org