Hi,
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"/>
</map:match>
Greetz,
Jeroen Reijn
-----Original Message-----
From: Christian Rosenberger [mailto:[EMAIL PROTECTED]
Posted At: Thursday, April 29, 2004 6:56 PM
Posted To: Cocoon User List
Conversation: Aggregation problem in subsitemap
Subject: Aggregation problem in subsitemap
Hello!
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:aggregate>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="getA">
<map:generate src="http://localhost/testfileA.xml"/>
</map:match>
<map:match pattern="getB">
<map:generate src="http://localhost/testfileB.xml"/>
</map:match>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]