You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by rf...@apache.org on 2008/01/24 21:23:31 UTC

svn commit: r614975 - /lenya/trunk/src/modules-core/templating/java/src/org/apache/lenya/cms/publication/usecases/CreatePublicationFromTemplate.java

Author: rfrovarp
Date: Thu Jan 24 12:23:29 2008
New Revision: 614975

URL: http://svn.apache.org/viewvc?rev=614975&view=rev
Log:
Prevent usecase from redirecting to newly create pubs for the moment. 

Modified:
    lenya/trunk/src/modules-core/templating/java/src/org/apache/lenya/cms/publication/usecases/CreatePublicationFromTemplate.java

Modified: lenya/trunk/src/modules-core/templating/java/src/org/apache/lenya/cms/publication/usecases/CreatePublicationFromTemplate.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/templating/java/src/org/apache/lenya/cms/publication/usecases/CreatePublicationFromTemplate.java?rev=614975&r1=614974&r2=614975&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/templating/java/src/org/apache/lenya/cms/publication/usecases/CreatePublicationFromTemplate.java (original)
+++ lenya/trunk/src/modules-core/templating/java/src/org/apache/lenya/cms/publication/usecases/CreatePublicationFromTemplate.java Thu Jan 24 12:23:29 2008
@@ -109,12 +109,13 @@
         }
 
     }
-
+    /* TODO: enable once we can change configuration options in publication
+             via web interface
     public String getTargetURL(boolean success) {
         if (success) {
             return "/" + getParameterAsString(PUBLICATION_ID) + "/introduction.html";
         }
         return super.getTargetURL(success);
     }
-
+    */
 }



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