cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: FW: getSitemapURI() with cocoon:raw protocol
Date Tue, 26 Nov 2002 13:24:01 GMT
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: cocoon-users@xml.apache.org
>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
>amir@cti2.com
>+972-9-9605200 (258)
>



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message