You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/11/03 11:37:12 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/default/config/menus generic.xsp
andreas 2003/11/03 02:37:12
Modified: src/webapp/lenya/pubs/default/config/menus generic.xsp
Log:
fixed sources parameter for publish
Revision Changes Path
1.46 +1 -1 cocoon-lenya/src/webapp/lenya/pubs/default/config/menus/generic.xsp
Index: generic.xsp
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/default/config/menus/generic.xsp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- generic.xsp 31 Oct 2003 18:58:13 -0000 1.45
+++ generic.xsp 3 Nov 2003 10:37:12 -0000 1.46
@@ -16,7 +16,7 @@
<menu>
<xsp:logic>
- String xmlSource = <input:get-attribute as="string" module="page-envelope" name="document-url"/>.replaceFirst(".html", "/index.xml");
+ String xmlSource = <input:get-attribute as="string" module="page-envelope" name="document-path"/>;
String sourcesParameter = "sources=" + xmlSource;
String urisParameter = "uris=" + <input:get-attribute as="string" module="page-envelope" name="document-url"/>;
String docType = "";
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org