You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/02/28 05:23:14 UTC

svn commit: r155663 - lenya/trunk/src/webapp/lenya/usecases/edit-document.js

Author: gregor
Date: Sun Feb 27 20:23:13 2005
New Revision: 155663

URL: http://svn.apache.org/viewcvs?view=rev&rev=155663
Log:
Changed flowscript to call concrete implementation of FlowHelper. This makes saving in the editors work again.

Modified:
    lenya/trunk/src/webapp/lenya/usecases/edit-document.js

Modified: lenya/trunk/src/webapp/lenya/usecases/edit-document.js
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/usecases/edit-document.js?view=diff&r1=155662&r2=155663
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecases/edit-document.js (original)
+++ lenya/trunk/src/webapp/lenya/usecases/edit-document.js Sun Feb 27 20:23:13 2005
@@ -15,7 +15,7 @@
  *
  */
 
-importClass(Packages.org.apache.lenya.cms.cocoon.flow.FlowHelper);
+importClass(Packages.org.apache.lenya.cms.cocoon.flow.FlowHelperImpl);
 importClass(Packages.org.apache.excalibur.source.SourceResolver);
 importClass(Packages.org.apache.lenya.cms.cocoon.source.SourceUtil);
 
@@ -38,7 +38,7 @@
  */
 function editDocument() {
     try {
-        var flowHelper = new FlowHelper();
+        var flowHelper = new FlowHelperImpl();
         var resolver = cocoon.getComponent(SourceResolver.ROLE);
         var dstUri = flowHelper.getPageEnvelope(cocoon).getDocument().getSourceURI();
         



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