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 2007/01/10 16:20:46 UTC

svn commit: r494849 - /lenya/trunk/src/modules/kupu/kupu.js

Author: andreas
Date: Wed Jan 10 07:20:45 2007
New Revision: 494849

URL: http://svn.apache.org/viewvc?view=rev&rev=494849
Log:
Use lenya-document:uuid for internal links in Kupu. This fixes bug 41341.

Modified:
    lenya/trunk/src/modules/kupu/kupu.js

Modified: lenya/trunk/src/modules/kupu/kupu.js
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/kupu/kupu.js?view=diff&rev=494849&r1=494848&r2=494849
==============================================================================
--- lenya/trunk/src/modules/kupu/kupu.js (original)
+++ lenya/trunk/src/modules/kupu/kupu.js Wed Jan 10 07:20:45 2007
@@ -17,9 +17,6 @@
 
 importClass(Packages.java.util.ArrayList);
 
-importClass(Packages.org.apache.lenya.cms.cocoon.flow.FlowHelper);
-importClass(Packages.org.apache.lenya.cms.publication.util.DocumentHelper);
-
 /**
  * Kupu usecase flow.
  * @version $Id$
@@ -52,7 +49,7 @@
 		 	*/
 		
         	resources.add(addedResourcesCount, {
-                "url" : documentHelper.getDocumentUrl(allNodes[i].getUuid(), pageEnvelope.getDocument().getArea(), null),
+                "url" : "lenya-document:" + allNodes[i].getUuid(),
                 "label" : languageLabel.getLabel(),
                 "id" : allNodes[i].getName(),
                 "fullid" : allNodes[i].getPath(),



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org