Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 92943 invoked from network); 18 Feb 2004 15:02:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Feb 2004 15:02:25 -0000 Received: (qmail 45066 invoked by uid 500); 18 Feb 2004 15:02:10 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 45044 invoked by uid 500); 18 Feb 2004 15:02:10 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 45025 invoked from network); 18 Feb 2004 15:02:09 -0000 Received: from unknown (HELO paris.dvs1.informatik.tu-darmstadt.de) (130.83.27.43) by daedalus.apache.org with SMTP; 18 Feb 2004 15:02:09 -0000 Received: from informatik.tu-darmstadt.de (border1.basf-ag.de [141.6.8.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by paris.dvs1.informatik.tu-darmstadt.de (Postfix) with ESMTP id 41B58FE40 for ; Wed, 18 Feb 2004 16:02:11 +0100 (MET) Message-ID: <40337E72.6000106@informatik.tu-darmstadt.de> Date: Wed, 18 Feb 2004 16:02:10 +0100 From: Christian Haul User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: JXPathMetaModule configuration and sample use for function, package References: <005b01c3f614$06f20910$9e010a0a@isdd.sk> In-Reply-To: <005b01c3f614$06f20910$9e010a0a@isdd.sk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Roman Hrivik wrote: > Hi > > Does anyone uses JXPathMetaModule with function or package parameter ? > > I have this in my cocoon.xconf : > > class="org.apache.cocoon.components.modules.input.JXPathMetaModule" > logger="core.modules.input.utils" name="utils"> > > > > > > > > I tried to use this module in sitemap like this > value="{utils:ldaputil.DNHelper.getFirstEntry({chain:dn})}"> ter> > > > > > > but nothing was working > it seems that this module is always looking in 'request-attr' module > what is wrong ? > can anybody point me to right direction ? Pls see javadocs for module. A meta module works on the output of another module which you haven't specified in your declaration. Thus the default, "request-attr" is used. You cannot nest modules in your sitemap. See InputModuleAction javadocs for a possible solution. Chris. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org