cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Szpetkowski <gszpetkow...@gmail.com>
Subject Re: XSP cache and cinclude problem (Cocoon 2.0.5-dev)
Date Thu, 04 Mar 2010 10:33:07 GMT
I found solution, but it is not very useful (we are using request
params in many places):

<map:match pattern="site.xml">
  <map:aggregate element="Page">
     <map:part src="cocoon:/getdata"/>
     <!-- other parts -->
  </map:aggregate>
  <map:transform type="saxon-noparam" src="context://path/prepare.xsl"/>
  <map:transform type="cinclude"/>
  <map:transform type="saxon-noparam" src="path/stylesheet.xsl"/>
  <map:serialize type="xhtmlt"/>
</map:match>

Default map:transform type was xslt (xalan with use-request-parameters
set to true). The difference between saxon and saxon-noparam is very
simple:

<use-request-parameters>true</use-request-parameters>
<use-request-parameters>false</use-request-parameters>

I don't see any sense why use-request-parameters makes cache problem,
is there solution to use "normal" saxon with request params and XSP
caching ?

Regards,
Greg

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


Mime
View raw message