two missing things in sitemap.xsl:
1. code for component parameter handling will be not generated in views
(view-params.patch)
2. missing variable initialization code for use of redirects in views.
sitemap will not compile using redirects (view-res.patch)
Works fine for us. But I don't know much about side effects of this patches.
Hopefully, its ok.
Claas Thiele
--
Technological Strategy
VIRBUS AG
Fon +49(0)341-979-7430
Fax +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de
Index: src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl,v
retrieving revision 1.44
diff -u -r1.44 sitemap.xsl
--- src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl 2001/10/19 15:28:45 1.44
+++ src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl 2001/10/22 09:58:10
@@ -1406,7 +1406,7 @@
-
+
.setParameter ("", substitute(listOfMaps, ""));
Index: src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
===================================================================
RCS file:
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl,v
retrieving revision 1.44
diff -u -r1.44 sitemap.xsl
--- src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
2001/10/19 15:28:45 1.44
+++ src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
+2001/10/22 09:59:23
@@ -447,6 +447,7 @@
throws Exception {
Map map = null;
Parameters param = null;
+ String cocoon_view = environment.getView();
SitemapRedirector redirector = new SitemapRedirector(environment);
<xsl:apply-templates select="./*"/>
return internalRequest;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]