You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jo...@apache.org on 2006/07/03 17:09:41 UTC

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

Author: josias
Date: Mon Jul  3 08:09:41 2006
New Revision: 418787

URL: http://svn.apache.org/viewvc?rev=418787&view=rev
Log:
pass the usecase object to the view pipeline also for non-template uris to allow handling of usecases in a different sitemap, e.g. a module sitemap.

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=418787&r1=418786&r2=418787&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecases/usecases.js (original)
+++ lenya/trunk/src/webapp/lenya/usecases/usecases.js Mon Jul  3 08:09:41 2006
@@ -190,7 +190,9 @@
                     if (viewUri.startsWith("cocoon:/")) {
                         viewUri = viewUri.substring(new Packages.java.lang.String("cocoon:/").length());
                     }
-                    cocoon.sendPage(viewUri);
+                    cocoon.sendPage(viewUri, {
+                            "usecase" : proxy
+                        });
                     return;
                 }
             }



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