forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: libre- where to start?/Thanks
Date Mon, 16 Jun 2003 11:30:46 GMT
On Mon, Jun 16, 2003 at 01:12:13PM +0200, Juan Jose Pablos wrote:
> Jeff,
> >
> >It would work in the main sitemap, but if it is a 'book' matcher 
> >(follows the pattern '**book-*'), then it ought to go in navigation.xmap 
> >(.xmap extension, not .xml) with the other book matchers.
> It seems to be a typo here:
> -specific page.  Eg, in navigation.xml, define the DirectoryGenerator:
> +specific page.  Eg, in navigation.xmap, define the DirectoryGenerator:

Ah yes, fixed thanks.

> I test it and it works!. But I have got an issue: If I create a new file 
>  it will not be displayed until I stop the jetty webserver and start it 
> again.
> I test a request with book-index.html and I am able to see the new menu 
> item, but when I request menu-index.html, I can not see the expected 
> results.

Weird.  Are you sure it's not browser caching?  menu-*.html doesn't do much:

      <map:match pattern="**menu-*.html">
        <map:generate src="cocoon:/{1}book-{2}.html"/>
        <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html">
          <map:parameter name="schemes" value="site ext"/>
        <map:call resource="skinit">
          <map:parameter name="type" value="book2menu"/>
          <map:parameter name="path" value="/{1}{2}.xml"/>

If you add a <map:serialize type="xml"/> at various places in there, that would
isolate which component is misbehaving.


> Cheers
> Cheche

View raw message