cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joa...@verona.se
Subject directorygenerator with 2.2
Date Mon, 04 Jun 2007 22:04:59 GMT
I followed part of the tutorial at cocoonzones, and that went mostly
fine.

However, then I wanted to try the DirectoryGenerator, and it was
non-obvious. I expected it to be enabled by default, but it wasnt.

I aded this to my sitemap to make it work:

  <map:components>
    <map:generators default="file">
      <map:generator  name="file"        src="org.apache.cocoon.generation.FileGenerator"/>
      <map:generator  name="file"        src="org.apache.cocoon.generation.FileGenerator"
                      label="content"/>
      <map:generator  name="directory"   src="org.apache.cocoon.generation.DirectoryGenerator"
                      label="content"/>
      <map:generator  name="request"     src="org.apache.cocoon.generation.RequestGenerator"/>
      <map:generator  name="directory"   src="org.apache.cocoon.generation.DirectoryGenerator"/>
        <map:generator  name="status"      src="org.apache.cocoon.generation.StatusGenerator"/>
    </map:generators>
  </map:components>


-- 
Joakim Verona

Mime
View raw message