Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 6862 invoked from network); 28 Sep 2005 06:31:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2005 06:31:31 -0000 Received: (qmail 11761 invoked by uid 500); 28 Sep 2005 06:31:26 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 11735 invoked by uid 500); 28 Sep 2005 06:31:25 -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 11722 invoked by uid 99); 28 Sep 2005 06:31:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2005 23:31:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [146.64.10.166] (HELO wabe.csir.co.za) (146.64.10.166) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2005 23:31:31 -0700 Received: from cs-emo.csir.co.za (cs-emo.csir.co.za [146.64.10.40]) by wabe.csir.co.za (8.13.4/8.13.4) with ESMTP id j8S6U9iL004173 for ; Wed, 28 Sep 2005 08:30:12 +0200 Received: from GW-EMO-MTA by cs-emo.csir.co.za with Novell_GroupWise; Wed, 28 Sep 2005 08:30:09 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.4 Date: Wed, 28 Sep 2005 08:29:41 +0200 From: "Derek Hohls" To: Subject: Re: How to *not* return a page Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-CSIR-MailScanner-Information: Please contact sys-admin at csir dot co dot za for more information X-CSIR-MailScanner: Found to be clean X-MailScanner-From: dhohls@csir.co.za X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N By "may or may not", I mean that the Javascript does necessarily continue on and request a page; in other words, I am sending a request to the=20 server to set a session value and the web page itself is "not interested" in the response and does not want to be changed in any way by the response. I am not sure what you mean by "that doesn't have=20 to happen directly within the flowscript function called by the=20 sitemap, in just has to eventually happen in the call chain." If a sendPage is not the only way to end a flowscript function, then what are other ways? And why does the "call chain" have to send a page back to the browser ie. where is the option for "one way" communication from client to server? Thanks Derek >>> ml@wrinkledog.com 2005/09/27 04:54 PM >>> On Sep 26, 2005, at 11:21 PM, Derek Hohls wrote: > Is it possible to configure a match pattern to *not* > return a page; i.e. I would like to make a call that > will only set a variable (e.g. session value) - most > probably via Javascript call in a certain page; the > script should then continue to run & any or may > not make another Cocoon call to display the actual > page. Can you clarify the "may or may not" part there? In particular, what=20 does "may not" look like? The client has issued a request, and there=20 must be a response. So if Cocoon doesn't generate that response, where=20 does it come from? > > I think this might be possible with flow script, but I > have the impression flow must end with a call to > a sendPage function? One way or another, yes. But of course that doesn't necessarily have=20 to happen directly within the flowscript function called by the=20 sitemap, in just has to eventually happen in the call chain. ml --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org=20 For additional commands, e-mail: users-help@cocoon.apache.org=20 --=20 This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. =20 CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html=20 =20 CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html=20 =20 For electronic copies of the CSIR Copyright, Terms and Conditions and the C= SIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to HelpDesk@csir.co.za. This message has been scanned for viruses and dangerous content by MailScan= ner,=20 and is believed to be clean. MailScanner thanks Transtec Computers for the= ir support. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org