Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 79529 invoked from network); 7 Jul 2008 10:19:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2008 10:19:12 -0000 Received: (qmail 89130 invoked by uid 500); 7 Jul 2008 10:19:10 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 89059 invoked by uid 500); 7 Jul 2008 10:19:10 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 89048 invoked by uid 99); 7 Jul 2008 10:19:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 03:19:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [80.237.158.89] (HELO sester.sidebysite.de) (80.237.158.89) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 10:18:14 +0000 Received: from cable-195-14-199-32.netcologne.de ([195.14.199.32] helo=Stardust.oelstrasse.boksa.de) by sester.sidebysite.de with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from ) id 1KFnqf-0007Yi-KE for users@cocoon.apache.org; Mon, 07 Jul 2008 12:21:36 +0200 Message-Id: <1A9AD55A-3FD6-4E58-97DB-96BD4FDF6CC5@boksa.de> From: Benjamin Boksa To: users@cocoon.apache.org In-Reply-To: <4871CFB2.8060308@developpement-durable.gouv.fr> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: Multipage form using an AJAX modal box Date: Mon, 7 Jul 2008 12:18:30 +0200 References: <91A9050B-27EA-432C-891F-C3E60C0ACBD7@boksa.de> <4871CFB2.8060308@developpement-durable.gouv.fr> X-Mailer: Apple Mail (2.926) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam detection software, running on the system "ds80-237-158-89.dedicated.hosteurope.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Andr�, thank you for your answer. I know the document you mentioned, creating AJAX-forms is not a problem for me. The problem is that for the case I am working on at the moment I need to intercept/add some callbacks in/ � some parts of the existing AJAX framework e.g. intercept the bu:replace-answers before they are processed. [...] Content analysis details: (-4.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] -0.5 AWL AWL: From: address is in the auto white-list X-Virus-Checked: Checked by ClamAV on apache.org Hi Andr=E9, thank you for your answer. I know the document you mentioned, creating =20= AJAX-forms is not a problem for me. The problem is that for the case I =20= am working on at the moment I need to intercept/add some callbacks in/=20= =85 some parts of the existing AJAX framework e.g. intercept the =20 bu:replace-answers before they are processed. I am looking for some more information and suggestions concerning =20 these parts - would be great if you (or someone else) could point me =20 to some good documentation. Thanks a lot in advance Benne Am 07.07.2008 um 10:11 schrieb DAVIGNON Andre - CETE NP/DIOD=E9/PANDOC: > Hi, > > Even though you're working with Cocoon 2.2, i think you could take a =20= > look at [1]. This doc might help you. > > Cheers. > > Andr=E9 Davignon > > [1] http://cocoon.apache.org/2.1/userdocs/ajax.html > > Le 04/07/2008 18:38, > Benjamin Boksa (par Internet, d=E9p=F4t = users-return-95622-andre.davignon=3Ddeveloppement-durable.gouv.fr@cocoon.a= pache.org=20 > ) a =E9crit : >> Dear List, >> at the moment I am trying to implement a multipage form using a =20 >> modal box [1] in Cocoon 2.2. To be more precise I want to implement =20= >> something like the following: >> (1) Read a form which is sent out by an existing flowscript using =20 >> form.showForm("foo1"); using modalbox >> (2) Submit the form (using AJAX) and validate it using the standard =20= >> CForms framework >> (3a) If the validation is successful display the next page =20 >> (form.showForm("foo2") or cocoon.sendPage(=85)) in the modal box >> (3b) If the validation is not successful send the bu:replace and =20 >> incorporate them into the currently displayed form >> (4) After all pages of the form have been displayed close the modal =20= >> box >> I hope the general idea is clear, however I do not know the right =20 >> places to start digging into the existing CForms implementation. =20 >> (1) is quite easy to implement, however even though I use AJAX a =20 >> completely new page is loaded when I submit the form (Cocoon should =20= >> send bu:replaces at that point, shouldn't it)? (4) is easy to =20 >> implement as well. >> So which are the things I should take a look at (or is there even =20 >> some documentation on the internals anywhere?). >> Looking forward to your answers and suggestions >> Benjamin >> [1] http://www.wildbit.com/labs/modalbox/ >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> For additional commands, e-mail: users-help@cocoon.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org