Amir Rosen wrote:

Hi,

Following my post below, I think the solution should be in RequestWrapper.

Shouldn't getSitemapURI return this.req.getSitemapURI(), instead of this.environment.getURI() , to be consistent with all the other
methods in the wrapper ?

Thanks,
Amir

-----Original Message-----
From: Amir Rosen Sent: Monday, November 25, 2002 10:36 PM
To: [EMAIL PROTECTED]
Subject: getSitemapURI() with cocoon:raw protocol


Hi,

I've encoutered a strange behaviour with the request object,
using cocoon 2.0.4-dev .

I'm using getSitemapURI() on the request object, inside a pipeline
that was called using the cocoon:raw protocol.
The getSitemapURI() returns the sitemap uri of the inner pipeline,
while all other request methods (getRequestURI(), getPathInfo(), etc.)
return the URIs of the original request.

Is this the right behaviour,

IIRC, yes, this is the right behavior. getSitemapURI was specifically added to get sitemap URI of current pipeline, no matter how deep nesting goes.



and if so, how do I get the getRequestURI()
of the inner pipeline, or the getSitemapURI() of the original request ?

Don't know.


Vadim



Thanks,

Amir Rosen
CTI Squared
[EMAIL PROTECTED]
+972-9-9605200 (258)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to