svn commit: r587601 - /lenya/trunk/src/modules-core/usecase/usecases.js

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: rfrovarp
Date: Tue Oct 23 11:47:14 2007
New Revision: 587601

URL: http://svn.apache.org/viewvc?rev=587601&view=rev
Log:
[minor change] clean up comment to make it hopefully a little more clear

Modified:
    lenya/trunk/src/modules-core/usecase/usecases.js

Modified: lenya/trunk/src/modules-core/usecase/usecases.js
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/usecase/usecases.js?rev=587601&r1=587600&r2=587601&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/usecase/usecases.js (original)
+++ lenya/trunk/src/modules-core/usecase/usecases.js Tue Oct 23 11:47:14 2007
@@ -216,9 +216,10 @@
  */
 function defaultLoopFlow(view, proxy) {
     var viewUri = view.getViewURI();
-    // we used to allow a cocoon:/ prefix (which sendPageXXX does not handle),
+    // we used to allow a cocoon:/ and cocoon:// prefix (which sendPageXXX does not handle),
     // but it is now deprecated!
     if (viewUri.startsWith("cocoon:/")) {
+        // leave leading / in case of cocoon:// for root sitemap
         viewUri = viewUri.substring(new Packages.java.lang.String("cocoon:/").length());
         log("warn", "The use of the cocoon:/ protocol prefix in the <view uri=\"...\"> attribute is deprecated!");
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.