Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 10812 invoked by uid 500); 20 Aug 2003 16:43:07 -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 10702 invoked from network); 20 Aug 2003 16:43:06 -0000 Received: from mgate.at.efp.cc (HELO kerberos) (62.116.51.59) by daedalus.apache.org with SMTP; 20 Aug 2003 16:43:06 -0000 Received: From mail.at.efp.cc ([62.116.51.60]) by kerberos (WebShield SMTP v4.5 MR1a); id 1061397778692; Wed, 20 Aug 2003 18:42:58 +0200 Received: from WRPO (wrpo.at.intra.efp.cc [194.107.80.24]) by mail.at.efp.cc (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id h7KGgw217025 for ; Wed, 20 Aug 2003 18:42:58 +0200 From: =?iso-8859-1?Q?Reinhard_P=F6tz?= To: Subject: RE: can you reach sitemap params from JXTemplate? Date: Wed, 20 Aug 2003 18:42:55 +0200 Message-ID: <001701c3673a$1b47cbc0$18506bc2@WRPO> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <82A8E76E-D31B-11D7-875E-0003935AD2EE@media.demon.co.uk> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Without trying it ... #{parameters.myParameter} should do it ... Cheers, Reinhard > -----Original Message----- > From: Jeremy Quinn [mailto:jeremy@media.demon.co.uk] > Sent: Wednesday, August 20, 2003 4:35 PM > To: dev@cocoon.apache.org > Subject: can you reach sitemap params from JXTemplate? > > > Hi All > > Does anyone know the correct syntax for getting a Sitemap > parameter in > JXTemplate? > > I have tried all of the following: > > #{cocoon/parameters["publishedJobServer"]} > #{cocoon/parameters/publishedJobServer/} > ${cocoon.parameters["publishedJobServer"]} > ${cocoon.getParameters("publishedJobServer")} > ${cocoon.parameters.publishedJobServer} > > > The first two throw exceptions, the others output nothing. > I can use cocoon.getParameters("publishedJobServer") in my FlowScript > without a problem, but I would prefer not to have to pass it > specially > to the view in cocoon.sendPage(). > > Any ideas? > > thanks > > regards Jeremy >