Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 99695 invoked from network); 31 Oct 2003 11:31:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Oct 2003 11:31:50 -0000 Received: (qmail 34776 invoked by uid 500); 31 Oct 2003 11:31:46 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 34753 invoked by uid 500); 31 Oct 2003 11:31:46 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 34740 invoked from network); 31 Oct 2003 11:31:46 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 31 Oct 2003 11:31:46 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFXVJ-0005sh-00 for ; Fri, 31 Oct 2003 12:31:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFXVH-0005sZ-00 for ; Fri, 31 Oct 2003 12:31:43 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFXVH-0002nS-00 for ; Fri, 31 Oct 2003 12:31:43 +0100 From: Sylvain Wallez Subject: Re: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor AbstractProcessingNodeBuilder.java Date: Fri, 31 Oct 2003 12:31:44 +0100 Lines: 39 Message-ID: References: <20031031111256.91142.qmail@minotaur.apache.org> <003301c39fa0$d9a07060$1e01a8c0@WRPO> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: fr, en, en-us In-Reply-To: <003301c39fa0$d9a07060$1e01a8c0@WRPO> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Reinhard Poetz wrote: >From: sylvain@apache.org [mailto:sylvain@apache.org] > > > >>sylvain 2003/10/31 03:12:56 >> >> Modified: src/java/org/apache/cocoon Constants.java >> src/java/org/apache/cocoon/components/treeprocessor >> AbstractProcessingNodeBuilder.java >> Log: >> Sitemap components now can know their usage location in the sitemap >> >> > >What does this mean? Can you give me an example? > > Wow, you're fast! Here's an example: public void setup(blah, blah, Parameters params) { getLogger().debug("I am used at location " + params.getParameter(Constants.SITEMAP_PARAMETER_LOCATION); } --> I am used a location /path/to/sitemap.xmap:234:12 Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com