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

Reply via email to