Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 10845 invoked from network); 30 Jun 2005 11:01:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jun 2005 11:01:14 -0000 Received: (qmail 13942 invoked by uid 500); 30 Jun 2005 11:01:05 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 13826 invoked by uid 500); 30 Jun 2005 11:01:04 -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 13813 invoked by uid 99); 30 Jun 2005 11:01:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2005 04:01:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [194.109.24.24] (HELO smtp-vbr4.xs4all.nl) (194.109.24.24) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2005 04:01:06 -0700 Received: from [127.0.0.1] (unlabelled-194-126-175-82.versatel.net [82.175.126.194] (may be forged)) (authenticated bits=0) by smtp-vbr4.xs4all.nl (8.13.3/8.13.3) with ESMTP id j5UB10Uj047489 for ; Thu, 30 Jun 2005 13:01:01 +0200 (CEST) (envelope-from Geert.Josten@daidalos.nl) Message-ID: <42C3D0E5.5060903@daidalos.nl> Date: Thu, 30 Jun 2005 13:00:53 +0200 From: Geert Josten Organization: Daidalos BV User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Simple newbie question -> is there a reason I can 't POST information from a flowscript to and eXist XQuery References: <1120118343.7193.29.camel@localhost.localdomain> <200506301238.48886.jan@geeksonly.de> In-Reply-To: <200506301238.48886.jan@geeksonly.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >>function testRequest(){ >> var testObj = { "test" : "this worked" }; >> cocoon.request.setAttribute("testing", "blah"); > > //http://cocoon.apache.org/2.1/userdocs/flow/api.html#sendPage-N100FF > //shouldn't this be something like this?: > cocoon.sendPage("flowScriptXQuery", testObj); Grin.. >> cocoon.sendPage("testRequest" : testObj); >>} >> >>*************************************************************************** >> >>anyway the point is that if I use a simple form
>action="flowScriptXQuery" method="POST"> with a textfield. The parameter And shouldn't the action be "testFlowRequest"? >>gets picked up by the xquery and I will see what I type into the field. >>If on the other hand I try to use flowscript nothing happens (i've tried >>quite a number of variations). :-) Cheers, Geert --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org