cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krzysztof Zielinski <>
Subject [C2] The reloading of the sitemap doesn't work.
Date Fri, 04 May 2001 14:24:51 GMT

      I'm trying to change sitemap and see changing result at once.

      I have small test which shows that "synhron" sitemap reloading
      doesn't work.

      1.Run Cocoon2
      2.Edit sitemap.xmap and add to it copy of welcome page eg:
        <map:match pattern="welcome2">
          <map:generate src="docs/samples.xml"/>
          <map:transform src="stylesheets/simple-page2html.xsl"/>
      3.Try to load new welcome page eg:

      I have checked generated java code from sitemap.xmap. It was
      correct and changes made to sitemap.xmap were in it, but server
      didn't want to serve page from a new address eg: welcome2. (I
      guess it didn't reload sitemap class)

      I have modified cocoon.xmap to:
        <sitemap file="sitemap.xmap" reload-method="synchron" check-reload="yes"/>

Best regards,
  ICQ # 47933362

Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message