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/06/09 16:00:33 UTC

svn commit: r413047 - /lenya/trunk/src/webapp/lenya/usecases/usecases.js

Author: andreas
Date: Fri Jun  9 07:00:32 2006
New Revision: 413047

URL: http://svn.apache.org/viewvc?rev=413047&view=rev
Log:
Issue a global redirect after a usecase is completed, otherwise the continuation will be added to the redirect.

Modified:
    lenya/trunk/src/webapp/lenya/usecases/usecases.js

Modified: lenya/trunk/src/webapp/lenya/usecases/usecases.js
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/usecases/usecases.js?rev=413047&r1=413046&r2=413047&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecases/usecases.js (original)
+++ lenya/trunk/src/webapp/lenya/usecases/usecases.js Fri Jun  9 07:00:32 2006
@@ -183,6 +183,7 @@
                         cocoon.sendPageAndWait(viewUri, {
                             "usecase" : proxy
                         });
+Packages.java.lang.System.out.println("Here again");
                     }
                 }
                 else {
@@ -299,7 +300,7 @@
 
     if (cocoon.log.isDebugEnabled())
        cocoon.log.debug("usecases.js::executeUsecase() in usecase " + usecaseName + ", completed, redirecting to url = [" + url + "]");
-        
-    cocoon.redirectTo(url);
+Packages.java.lang.System.out.println("redirect: " + url);
+    cocoon.redirectTo(url, true);
     
 }



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