Return-Path: X-Original-To: apmail-cocoon-users-archive@www.apache.org Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97E0879ED for ; Mon, 7 Nov 2011 11:15:40 +0000 (UTC) Received: (qmail 10467 invoked by uid 500); 7 Nov 2011 11:15:40 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 10407 invoked by uid 500); 7 Nov 2011 11:15:40 -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 10400 invoked by uid 99); 7 Nov 2011 11:15:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 11:15:40 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [57.67.164.70] (HELO be1ssnxpe2.nxp.com) (57.67.164.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 11:15:32 +0000 Received: from eu1rdcrdc1vw040.exi.nxp.com ([134.27.176.148]) by be1ssnxpe2.nxp.com (8.14.4/8.14.4) with ESMTP id pA7BFARi019427 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 7 Nov 2011 12:15:10 +0100 Received: from eu1rdcrdc1wx032.exi.nxp.com ([134.27.179.186]) by eu1rdcrdc1vw040.exi.nxp.com ([134.27.176.148]) with mapi; Mon, 7 Nov 2011 12:15:10 +0100 From: Robby Pelssers To: "users@cocoon.apache.org" , "Andre.Juffer@oulu.fi" Date: Mon, 7 Nov 2011 12:15:08 +0100 Subject: RE: [ cocoon3 ] map parameters Thread-Topic: [ cocoon3 ] map parameters Thread-Index: AcydPCoGKZe0nrOeS72QPHmbcwRJ0gAAk0aA Message-ID: <78B923726E7D59429936580CF127E943A192882B84@eu1rdcrdc1wx032.exi.nxp.com> References: <4EB7B97F.2090300@cc.oulu.fi> In-Reply-To: <4EB7B97F.2090300@cc.oulu.fi> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-11-07_01:2011-11-07,2011-11-07,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org Have you tried: Robby -----Original Message----- From: Andre Juffer [mailto:ajuffer@cc.oulu.fi]=20 Sent: Monday, November 07, 2011 11:57 AM To: Cocoon Users Subject: [ cocoon3 ] map parameters Hi, I have the following pipeline in a sitemap of some block. This pipeline=20 is called by other blocks, that have components in place to upload=20 images. They subsequently connect to the image block to store it in an=20 image database. The pipeline uses a self made Generator, that requires two parameters=20 ('creatorId' and 'filename'). Other blocks call this pipeline with a request like http://localhost:8888/img/create/image/creator/3276800?filename=3D/tmp/3276= 800-tribc-eap-areal-view.jpg The value of 'creatorId' is always null, although it should have been=20 '3276800'. The value of 'filename' is OK. Looking through the sitemap of the sample application, I did not find a=20 case like the one above: My question: Is it possible to create parameter values from the request=20 itself (that is, other than using request parameters)? I can of course modify the request such that the creatorId is also=20 regular request parameter, but I would like to have an answer to this=20 question. Thanks. --=20 Andre H. Juffer | Phone: +358-8-553 1161 Biocenter Oulu and | Fax: +358-8-553-1141 Department of Biochemistry | Email: andre.juffer@oulu.fi University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ StruBioCat | WWW: www.strubiocat.oulu.fi Triacle Biocomputing | WWW: www.triacle-bc.com --------------------------------------------------------------------- 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