Hi,
looking at it again. I see something else:
<map:match pattern="getB">
<map:generate src="http://localhost/testfileB.xml"/>
</map:match>
You need to define your serializer.
What happens if your request the getB or getA directly. Does this give you any content?
Jeroen
-----Original Message-----
From: Christian Rosenberger [mailto:[EMAIL PROTECTED]
Posted At: Thursday, April 29, 2004 7:12 PM
Posted To: Cocoon User List
Conversation: Aggregation problem in subsitemap
Subject: Re: Aggregation problem in subsitemap
Hi Jeroen!
No, the mounting of the subsitemap works quite good.
Can call every page in subsitemap within http://localhost/cocoon/work/
mountpoint. The problem is in the content aggregation of the subsitemap. It
cannot find the matcher. I tried to use <map:part src="cocoon://getA"/> but
also without any success.
Any other ideas?
Christian
----- Original Message -----
From: "Jeroen Reijn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 29, 2004 7:07 PM
Subject: RE: Aggregation problem in subsitemap
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]
---------------------------------------------------------------------
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]