cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Reijn" <>
Subject RE: Aggregation problem in subsitemap
Date Thu, 29 Apr 2004 17:07:43 GMT

If i understand your problem correct you should use map:mount to your work folder like:

<map:match pattern="work/**">
       <map:mount src="work/sitemap.xmap" uri-prefix="work"/>


Jeroen Reijn

-----Original Message-----
From: Christian Rosenberger []
Posted At: Thursday, April 29, 2004 6:56 PM
Posted To: Cocoon User List
Conversation: Aggregation problem in subsitemap
Subject: Aggregation problem in subsitemap


I have a problem with the <map:aggregate> using a subsitemap.

My subsitemap contains this section:

<map:match pattern="testagg.html">
  <map:aggregate element="merged">
        <map:part src="cocoon:/getA"/>
        <map:part src="cocoon:/getB"/>
  <map:serialize type="xml"/>

 <map:match pattern="getA">
      <map:generate src="http://localhost/testfileA.xml"/>

 <map:match pattern="getB">
      <map:generate src="http://localhost/testfileB.xml"/>

I want to use the different matchers because of flexible generators
possible, as I can't use a generator element as a child of <map:aggregate>.

If I want to access to testagg.html page, I get the error message
No pipeline matched request: work/getAWith "work" is my subsitemap mount
point in the main sitemap.Any ideas how I can use the cocoon protocol,
subsitemaps, aggregation together?Thanks in advance.Regards,Christian

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

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

View raw message