Re: can you reach sitemap params from JXTemplate?

2003-08-22 Thread Jeremy Quinn
On Friday, August 22, 2003, at 10:10 AM, Giacomo Pati wrote: Ok, the sitemap parameters specified on the flow pipeline are not accessible from the view pipeline (you should have got an Exception "The parameter 'status' does not contain a value"). The view pipeline gets its on set of parameters II

Re: can you reach sitemap params from JXTemplate?

2003-08-22 Thread Giacomo Pati
On Fri, 22 Aug 2003, Jeremy Quinn wrote: > My sitemap looks like this: > > > > /Library/Apache2/assets/ > http://iborg.local/assets/ > pending/ > archive/ > trash/ > > > > > > > > >

Re: can you reach sitemap params from JXTemplate?

2003-08-22 Thread Giacomo Pati
On Thu, 21 Aug 2003, Steven Noels wrote: > Jeremy Quinn wrote: > > > > > On Thursday, August 21, 2003, at 10:27 AM, Unico Hommes wrote: > > > >> What build are you using. This wasn't working a few weeks ago but has > >> been fixed. > >> > > > > 2.1.1-dev, a couple of days old. > > ... and I'm runn

Re: can you reach sitemap params from JXTemplate?

2003-08-22 Thread Steven Noels
Steven Noels wrote: ... and I'm running into the same problem, with HEAD from this afternoon. I'm OK now - thanks for the help on- and off-list. -- Steven Noelshttp://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at

Re: can you reach sitemap params from JXTemplate?

2003-08-22 Thread Steven Noels
Tony Collen wrote: Steven, When I tried wrapping my head around this stuff, I was boggled at the choice of two different syntaxes. IMO this is a weakness and we should choose one or the other, but having both makes everything a million times more complicated. Sure. Another thing for the JXTra

Re: can you reach sitemap params from JXTemplate?

2003-08-22 Thread Jeremy Quinn
On Thursday, August 21, 2003, at 07:09 PM, Christopher Oliver wrote: Sorry, my bad, the JXPath version should be this: #{getParameter($parameters, 'publishedJobServer')} this one results in : org.apache.cocoon.ProcessingException: Failed to execute pipeline.: file:/Library/Tomcat/webapps/cocoon

Re: can you reach sitemap params from JXTemplate?

2003-08-21 Thread Tony Collen
Steven Noels wrote: Some thoughts aside: - The contract for exchanging (named) parameters between sitemap, flowscript and jxtransformer needs to be solidified (but we knew that) - I'm slightly annoyed by the abundance of choice with JEXL and JXPath. Wouldn't it be better to stick with only on

Re: can you reach sitemap params from JXTemplate?

2003-08-21 Thread Steven Noels
Jeremy Quinn wrote: On Thursday, August 21, 2003, at 10:27 AM, Unico Hommes wrote: What build are you using. This wasn't working a few weeks ago but has been fixed. 2.1.1-dev, a couple of days old. ... and I'm running into the same problem, with HEAD from this afternoon. sitemap:

Re: can you reach sitemap params from JXTemplate?

2003-08-21 Thread Christopher Oliver
Sorry, my bad, the JXPath version should be this: #{getParameter($parameters, 'publishedJobServer')} and the Jexl version: ${parameters.getParameter('publishedJobServer')} These do work (at least for me). The fact that you got no output from the Jexl version would seem to indicate that the spe

Re: can you reach sitemap params from JXTemplate?

2003-08-21 Thread Christopher Oliver
Yes, it's a bug. Jeremy Quinn wrote: On Thursday, August 21, 2003, at 02:10 AM, Christopher Oliver wrote: This is how you do it: #{$parameters.getParameter("publishedJobServer")} results in : org.apache.commons.jxpath.JXPathException: Invalid XPath: '$parameters.getParameter(\"publishedJobSe

Re: can you reach sitemap params from JXTemplate?

2003-08-21 Thread Jeremy Quinn
On Thursday, August 21, 2003, at 10:27 AM, Unico Hommes wrote: What build are you using. This wasn't working a few weeks ago but has been fixed. 2.1.1-dev, a couple of days old. regards Jeremy

Re: can you reach sitemap params from JXTemplate?

2003-08-21 Thread Jeremy Quinn
On Thursday, August 21, 2003, at 07:46 AM, Giacomo Pati wrote: On Wed, 20 Aug 2003, Jeremy Quinn wrote: On Wednesday, August 20, 2003, at 05:42 PM, Reinhard Pötz wrote: Without trying it ... #{parameters.myParameter} should do it ... no go tried both: #{parameters.publishedJobServer} ${paramet

Re: can you reach sitemap params from JXTemplate?

2003-08-21 Thread Jeremy Quinn
On Thursday, August 21, 2003, at 02:10 AM, Christopher Oliver wrote: This is how you do it: #{$parameters.getParameter("publishedJobServer")} results in : org.apache.commons.jxpath.JXPathException: Invalid XPath: '$parameters.getParameter(\"publishedJobServer\")'. Syntax error after: '$p' ${p

RE: can you reach sitemap params from JXTemplate?

2003-08-21 Thread Unico Hommes
ED] > Subject: Re: can you reach sitemap params from JXTemplate? > > > On Thursday, August 21, 2003, at 07:27 AM, Giacomo Pati wrote: > > > On Wed, 20 Aug 2003, Jeremy Quinn wrote: > > > >> I cannot get this to work, I get: > >> org.apache.commons.jxpath.

Re: can you reach sitemap params from JXTemplate?

2003-08-21 Thread Jeremy Quinn
On Thursday, August 21, 2003, at 07:27 AM, Giacomo Pati wrote: On Wed, 20 Aug 2003, Jeremy Quinn wrote: I cannot get this to work, I get: org.apache.commons.jxpath.JXPathException: Invalid XPath: '$parameters.getParameter(\"publishedJobServer\")'. Syntax error after: '$p' If I try : ${$paramet

Re: can you reach sitemap params from JXTemplate?

2003-08-20 Thread Giacomo Pati
On Wed, 20 Aug 2003, Jeremy Quinn wrote: > > On Wednesday, August 20, 2003, at 05:42 PM, Reinhard Pötz wrote: > > > Without trying it ... > > #{parameters.myParameter} should do it ... > > no go > > tried both: > > #{parameters.publishedJobServer} > ${parameters.publishedJobServer} I don't think

Re: can you reach sitemap params from JXTemplate?

2003-08-20 Thread Giacomo Pati
On Wed, 20 Aug 2003, Jeremy Quinn wrote: > I cannot get this to work, I get: > org.apache.commons.jxpath.JXPathException: Invalid XPath: > '$parameters.getParameter(\"publishedJobServer\")'. Syntax error after: > '$p' > > If I try : > > ${$parameters.getParameter('publishedJobServer')} Use: ${req

Re: can you reach sitemap params from JXTemplate?

2003-08-20 Thread Christopher Oliver
no go tried both: #{parameters.publishedJobServer} ${parameters.publishedJobServer} no output on either thanks regards Jeremy Cheers, Reinhard -Original Message- From: Jeremy Quinn [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 4:35 PM To: [EMAIL PROTECTED] Subject: c

Re: can you reach sitemap params from JXTemplate?

2003-08-20 Thread Jeremy Quinn
Message- From: Jeremy Quinn [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 4:35 PM To: [EMAIL PROTECTED] 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

Re: can you reach sitemap params from JXTemplate?

2003-08-20 Thread Jeremy Quinn
On Wednesday, August 20, 2003, at 06:11 PM, Sylvain Wallez wrote: Jeremy Quinn wrote: 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/

Re: can you reach sitemap params from JXTemplate?

2003-08-20 Thread Sylvain Wallez
Jeremy Quinn wrote: 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

RE: can you reach sitemap params from JXTemplate?

2003-08-20 Thread Reinhard Pötz
Without trying it ... #{parameters.myParameter} should do it ... Cheers, Reinhard > -Original Message- > From: Jeremy Quinn [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 20, 2003 4:35 PM > To: [EMAIL PROTECTED] > Subject: can you reach sitemap params from JXTempl

can you reach sitemap params from JXTemplate?

2003-08-20 Thread Jeremy Quinn
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"