cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinhard_po...@gmx.net>
Subject RE: Sitemap help?
Date Fri, 15 Nov 2002 18:10:53 GMT
> -----Original Message-----
> From: Jeremy Quinn [mailto:jeremy@media.demon.co.uk]
> Sent: Friday, November 15, 2002 6:39 PM
> To: cocoon-users@xml.apache.org
> Subject: Sitemap help?
>
>
> I was trying to make a pipeline like the one below work, but could not.
> It never gets selected.
>
> I thought this kind of thing was allowed, in 2.1?
>
>
> <map:match pattern="search/site">
>
>    <!-- match search/site when there is a query request param -->
> 	<map:match type="request" pattern="query">
> 		<!-- generate, transform, serialize -->
> 	</map:match>
>
>    <!-- match search/site when there is not a query request param -->
> 	<map:match pattern="*">
> 		<!-- generate, transform, serialize -->
> 	</map:match>
>
> </map:match>


Are you sure you have a matcher of the type "request"? In cocoon2.1-dev the
name of the "org.apache.cocoon.matching.RequestParameterMatcher" is
"request-parameter".

Hope that helps

Regards,
Reinhard

>
>
> What am I doing wrong?
>
> thanks for any help
>
> regards Jeremy


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message