Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 57201 invoked from network); 17 May 2009 20:17:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 May 2009 20:17:35 -0000 Received: (qmail 12527 invoked by uid 500); 17 May 2009 20:17:34 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 12443 invoked by uid 500); 17 May 2009 20:17:34 -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 12430 invoked by uid 99); 17 May 2009 20:17:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 20:17:34 +0000 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: domain of mansour.alakeel@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 20:17:24 +0000 Received: by an-out-0708.google.com with SMTP id d11so1337207and.33 for ; Sun, 17 May 2009 13:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=jKgkn+JXCz1H0c2WMaIGrv9WjkcnAQl6YCvOrbowKCI=; b=qFo9VJ1+w65waPZ9hUVyrCuirWr1x5iJULtkHBvnJCqq2NH2HDEGXTFIRAUJJRgOaU zs9X7Zf5PxNp/3BMOPzieS02MkDwMPlDlhHpu9bmt5C376zwa1Vse9owY+z5zUMOAymg 0SyXShpCI8oxb4tlUgBYLxY/Qz3iyDxjmoNLE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=nBOX8RjMFBG23VitH5a2DUVook5IDBMX4+htHspLF6765TtOR1VzBbG8FJq687PF3h UuhiZT8Ooc2cSyYWxJseEizy1w7/Xafww+uYkwKnnjheJKDU0NXPQQ5YmB0FD1kCQeWD yIvUBemDycl95kNAdzlCR04Qyvxvg5TIyw4fE= Received: by 10.100.3.13 with SMTP id 13mr7410010anc.75.1242591423018; Sun, 17 May 2009 13:17:03 -0700 (PDT) Received: from ?192.168.1.103? (CPE0014bf895399-CM0014f8c19014.cpe.net.cable.rogers.com [99.246.237.4]) by mx.google.com with ESMTPS id d35sm11770420and.35.2009.05.17.13.17.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 17 May 2009 13:17:02 -0700 (PDT) Message-ID: <4A10712F.7090400@gmail.com> Date: Sun, 17 May 2009 17:18:55 -0300 From: Mansour Al Akeel User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: sharing properties in blocks Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello all: I have this senario where I need to override properties in more than one of the blocks when they are used from a top level one. For example, I need the site navigation block to construct a navigation from one directory. In another block, the contents will be server from the same directory. In the site navigation block I have this: Then in define this value in the cocoon.properties for the contents-block using the relative path: site.contents.directory=contents Now, the problem is, this directory doesn't exist in the navigation block. I considered using one of the InputModules varaibles that refers to the deployment path (not sure which one yet), but again this won't help as I want to be able to change this variable to an absolute path on the filesystem. I am using aggregation to combine results from multiple blocks. Is there's a clean way to achieve this? Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org