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 2006/03/09 18:22:17 UTC

svn commit: r384561 - /lenya/trunk/src/modules/bxe/java/src/org/apache/lenya/cms/editors/bxe/BXE.java

Author: andreas
Date: Thu Mar  9 09:22:15 2006
New Revision: 384561

URL: http://svn.apache.org/viewcvs?rev=384561&view=rev
Log:
Update BXE class to new DocIdToPathMapper signature

Modified:
    lenya/trunk/src/modules/bxe/java/src/org/apache/lenya/cms/editors/bxe/BXE.java

Modified: lenya/trunk/src/modules/bxe/java/src/org/apache/lenya/cms/editors/bxe/BXE.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/bxe/java/src/org/apache/lenya/cms/editors/bxe/BXE.java?rev=384561&r1=384560&r2=384561&view=diff
==============================================================================
--- lenya/trunk/src/modules/bxe/java/src/org/apache/lenya/cms/editors/bxe/BXE.java (original)
+++ lenya/trunk/src/modules/bxe/java/src/org/apache/lenya/cms/editors/bxe/BXE.java Thu Mar  9 09:22:15 2006
@@ -46,7 +46,7 @@
 
             Document doc = getSourceDocument();
             DocumentIdToPathMapper mapper = doc.getPublication().getPathMapper();
-            String path = mapper.getPath(doc.getId(), getSourceDocument().getLanguage());
+            String path = mapper.getPath(doc.getId(), doc.getLanguage(), doc.getSourceExtension());
             String sourceUri = doc.getSourceURI();
             String pubId = doc.getPublication().getId();
             String tempSourceUri = "context://lenya/pubs/" + pubId + "/work/bxe/content/"
@@ -100,5 +100,5 @@
     protected String getEvent() {
         return "edit";
     }
-    
+
 }



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