lenya/src/webapp/lenya/pubs/default/config/menus generic.xsp,1.12,1.13
Christian Egli <[email protected]> Thu, 15 May 2003 13:32:59 +0200
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /repository/lenya/src/webapp/lenya/pubs/default/config/menus
In directory erbium:/tmp/cvs-serv12439/src/webapp/lenya/pubs/default/config/menus
Modified Files:
generic.xsp
Log Message:
The XML files in content are now stored according to the following
scheme foo.html is stored in foo/index.xml, i.e. for each document a
directory is created. This has the following implications:
The xmlSources for publishing have to be calculated differently:
replace "\\.html" in the xsp_lenya_pub_url by File.separator +
"index.xml".
Index: generic.xsp
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/config/menus/generic.xsp,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** generic.xsp 14 May 2003 15:54:27 -0000 1.12
--- generic.xsp 15 May 2003 11:32:57 -0000 1.13
***************
*** 15,19 ****
String bitflux_prefix=""+xsp_lenya_context_prefix+"/bitflux";
String domain_prefix_bitflux=""+xsp_lenya_context_prefix;
! String xmlSource = xsp_lenya_pub_url.replaceFirst("\\.html", ".xml");
if (xmlSource.startsWith("/")) {
xmlSource = xmlSource.substring(1);
--- 15,20 ----
String bitflux_prefix=""+xsp_lenya_context_prefix+"/bitflux";
String domain_prefix_bitflux=""+xsp_lenya_context_prefix;
! String replacementString = File.separator + "index.xml";
! String xmlSource = xsp_lenya_pub_url.replaceFirst("\\.html", replacementString);
if (xmlSource.startsWith("/")) {
xmlSource = xmlSource.substring(1);