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

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: map:component-configurations global-variables assetResository/Library/Apache2/assets//assetResository assetServerhttp://iborg.local/assets//assetServer

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

Re: can you reach sitemap params from JXTemplate?

2003-08-21 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:

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'

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 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

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-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 JXTemplate? Hi All

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 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