cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
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: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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message