forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <>
Subject [jira] Commented: (FOR-679) need to declare common sitemap components in the project sitemap
Date Thu, 28 Feb 2008 07:17:51 GMT


David Crossley commented on FOR-679:

For example, in a fresh 'forrest seed' site, the project sitemap (src/documentation/sitemap.xmap)
shows an example to include html source documents. To use JTidy, Cocoon needs to use an "html
generator" rather than an "html reader".

The html generator is already defined in main/webapp/sitemap.xmap but when trying to use it
in the project sitemap, the following error is issued:
Could not find component for role: [org.apache.cocoon.generation.Generator/html] (Key='org.apache.cocoon.generation.Generator/html')

So the following needs to be added to the top of your project sitemap:
      <map:generator name="html" src="org.apache.cocoon.generation.HTMLGenerator">

and copy $FORREST_HOME/main/webapp/WEB-INF/ to PROJECT_HOME/src/documentation/resources/

> need to declare common sitemap components in the project sitemap
> ----------------------------------------------------------------
>                 Key: FOR-679
>                 URL:
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations
>    Affects Versions: 0.8
>            Reporter: David Crossley
> To use the HTML Generator in the project sitemap, it needs to be declared there. This
is already defined in the main/webapp/sitemap.xmap before mounting the project sitemap.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message