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, and if so, how do I get the getRequestURI()
of the inner pipeline, or the getSitemapURI() of the original request ?


Thanks,

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

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


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

Reply via email to