cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maciej Rosiek <>
Subject Cocoon 2.1 - IncludeTransformer and caching
Date Thu, 14 May 2009 14:30:58 GMT

Lets say I have something like this in my sitemap:

  <map:match pattern="example">
    <map:generate src="example.xml"/>
    <map:transform type="include"/>
    <map:serialize type="xml"/>

  <map:match pattern="example-include">
    <map:generate src="example-include.xml"/>
    <map:transform type="MyCustomTransfomer"/>
    <map:serialize type="xml"/>

example.xml have only include tag:
  <i:include src="cocoon://example-include"/>

My problem is that when MyCustomTransformer is processing my xml file the
setup(...) method from SitemapModelComponent is not being invoked and I really
would like this method to run :) Normally when I transfrom my files with
MyCustomTransformer everythings is fine, but with IncludeTransformer it does not

Is this some kind of undocumented feature or I'm doing something wrong?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message