cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <>
Subject RE: sitemap components in cocoon.xconf
Date Fri, 15 Feb 2002 15:54:44 GMT
> > 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: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 -->


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.

   <component-instance name="locale"  class="org.apache.cocoon.acting.LocaleAction"
   <component-instance name="request"  class="org.apache.cocoon.acting.RequestParamAction"
   <component-instance name="resource-exists"  class="org.apache.cocoon.acting.ResourceExistsAction"

If I put the actions back into the sitemap everything works just fine.

      <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"/>

Already an idea where the bug could be?

To unsubscribe, e-mail:
For additional commands, email:

View raw message