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:[EMAIL PROTECTED]]
 > 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: [EMAIL PROTECTED]
 > For additional commands, email: [EMAIL PROTECTED]
 >


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to