cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Praher <jpra...@yahoo.de>
Subject Re: [modules] url path of pipeline
Date Tue, 04 Mar 2003 09:13:48 GMT
Am Mon, 2003-03-03 um 12.17 schrieb Jakob Praher:
> > Well, all the methods of o.a.c.environment.Request are available through 
> > JXPath here. getContextPath() and getSitemapURI() carry some of the 
> > information you are looking for.
> > 
> ok, thanks.
> But I thought I could get the url of the pipeline where the call is
> made. 
> 
> like for instance:
> 
> getCurrentPipeline( ).getUrlPath( )

ok. I can work with what you have mentioned. thanks.
It was a mistake of mine, as I had a sitemap fragment like:

<map:match pattern="branded/**">
   <map:act type="x">
      <map:generate src="cooon:/{1}" />
      <map:serialize/>
   </map:act>
   <!-- here I needed the pipeline context path, 
	but after thinking it over,
        I know that I can use your code -->

   
</map:match>


-- Jakob
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


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


Mime
View raw message