> > Cool. Then I will move all the map:components into the cocoon.xconf
>
> But leave
> <map:generators default="file"/>
> <map:transformers default="xslt"/>
> ...
>
> Compiled sitemap won't be happy without knowing defaults. :)
Thanks, Vadim.
...but there seems be a really bad bug somewhere...
I moved all the components out into the cocoon.xconf file and my sitemap
only has:
...
<map:components>
<map:generators default="file"/>
<map:transformers default="xslt"/>
<map:readers default="resource"/>
<map:serializers default="html"/>
<map:selectors default="browser"/>
<map:matchers default="wildcard"/>
<!-- <map:actions/> try with and without -->
</map:components>
...
But I don't get an error exception or anything but there seems to be
some kind of endless loop looking up / initializing the actions specified
inside the cocoon.xconf.
...
<actions>
<component-instance name="locale" class="org.apache.cocoon.acting.LocaleAction"
logger="sitemap.action.locale"
/>
<component-instance name="request"
class="org.apache.cocoon.acting.RequestParamAction"
logger="sitemap.action.request"
/>
<component-instance name="resource-exists"
class="org.apache.cocoon.acting.ResourceExistsAction"
logger="sitemap.action.resource-exists"
/>
/>
</actions>
...
If I put the actions back into the sitemap everything works just fine.
...
<map:actions>
<map:action name="locale" src="org.apache.cocoon.acting.LocaleAction"/>
<map:action name="request" src="org.apache.cocoon.acting.RequestParamAction"/>
<map:action name="resource-exists"
src="org.apache.cocoon.acting.ResourceExistsAction"/>
</map:actions>
...
Already an idea where the bug could be?
--
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]