cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Stevens <insomniacpeng...@googlemail.com>
Subject Re: Cocoon 2.1 web application base path
Date Wed, 16 May 2012 16:36:25 GMT
Hi Bob,

Assuming you have the request input module in your cocoon.xconf, then you
can pass the context path into an xsl:param (or otherwise use in the
sitemap) with e.g.
<map:transform src="mytransform.xslt">
<map:parameter="xslParamName" ="{request:contextPath}"/>
</map:transform>

Regards,

Andy
 On 16 May 2012 06:02, "Bob Harrod" <rjharrod@gmail.com> wrote:

> I'm quite new to cocoon, and supporting an older version (2.1).  Does
> anyone know how I can gain access the web application base path inside of a
> transform?  Of course, it can be passed by the sitemap...  Any help would
> be appreciated!
>
> Thanks!
>

Mime
View raw message