.. I'm converting - to spaces and
reverse..
Saludos,
Ignacio J. Ortega
-Original Message-
To: users@cocoon.apache.org
Subject: Re: Doing string operations over sitemap values
Nacho (Derecho.com) wrote:
* I have this URL http://localhost:8080/b/menores-de-edad;
* In sitemap i have
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 2:07 PM
It's JXPath, not JXTemplate. Does it evaluate Java calls at all?
If your example really works,
http://localhost:8080/b/nasty.java.call()
will as well.
None the should work as JXPath doesnt have
On 15.02.2008 07:09, [EMAIL PROTECTED] wrote:
None the should work as JXPath doesnt have access to arbitrary Classes, i'm
correct on this?
I doubt it, but I would at least try it out. Something like
java.lang.System.exit(1) (don't do this on a production server ;)). Even
if that does not
On 15/02/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
As a policy for this website we are trying avoid doing any custom java
programming, only little tiny features added here and there to cocoon
itself, and clearing some minor gotchas i've found in my way but apart from
that, adding a
Hola a todos:
I've needed to do some of string transformations over sitemap parameters
obtained from parts of a url, and i'm lookng for the smart way to it,
rigth now i have done it using the method described below:
* I have this URL http://localhost:8080/b/menores-de-edad;
* In sitemap i have a
Nacho (Derecho.com) wrote:
* I have this URL http://localhost:8080/b/menores-de-edad;
* In sitemap i have a match like b/**
* I need to do replace - in {1} to spaces
* I do this using an input module inheriting from
AbstractJXPathModule, and using a xpath like expression,
On 14.02.2008 07:42, Tobia Conforto wrote:
Nacho (Derecho.com) wrote:
* I have this URL http://localhost:8080/b/menores-de-edad;
* In sitemap i have a match like b/**
* I need to do replace - in {1} to spaces
* I do this using an input module inheriting from
AbstractJXPathModule, and using a
Joerg Heinicke wrote:
Nacho (Derecho.com) wrote:
{request:translate('{1}','-','')}
the user might go to: http://localhost:8080/b/hello',nasty.java.call(),'world
It's JXPath, not JXTemplate. Does it evaluate Java calls at all?
If your example really works,