cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinhard_po...@gmx.net>
Subject AW: Extending Sitemap funtionality
Date Wed, 14 Nov 2001 10:27:07 GMT
Hi Max,

This functionality is already available. You only have to put following
matcher at the end! of your sitemap.

<map:match type="regexp" pattern="[.]*">

It should also work with the wildcard matcher <map:match type="wildcard"
pattern="**">

Reinhard




 > -----Ursprüngliche Nachricht-----
 > Von: Max Larsson [mailto:max.larsson@gmservice.de]
 > Gesendet: Mittwoch, 14. November 2001 11:18
 > An: 'Cocoon Dev'
 > Betreff: Extending Sitemap funtionality
 >
 >
 > Hi to all,
 >
 > i am searching a functionality in C2, which i haven't found.
 > What i want to have is a "default match element". What i mean
 > is if C2 gets a request, it matchs the URi agaisnt all defined
 > matchers, if it find a matching one it is excuted. But if C2
 > do not find a matching one my application now returns a
 > blank page, which i don't want to have. I want that C2 executes
 > a defined match element, whenever it do not find any matching
 > ones.
 > Now i wondering if i just missed such a functionality in C2.
 > If not where do i start? I took a look in the sitemap.xsl, but
 > how the genrated Java class works is still a little bit unclaer.
 > Any hints would be nice ??
 >
 >
 > Max
 >
 > ---------------------------------------------------------------------
 > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
 > For additional commands, email: cocoon-dev-help@xml.apache.org
 >


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message