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 2005/05/17 16:08:12 UTC
svn commit: r170601 - in /lenya/trunk/src/webapp/lenya/pubs/blog:
config/publication.xconf content/archive/ content/authoring/sitetree.xml
content/trash/
java/src/org/apache/lenya/cms/site/usecases/CreateBlogEntry.java
Author: andreas
Date: Tue May 17 07:08:12 2005
New Revision: 170601
URL: http://svn.apache.org/viewcvs?rev=170601&view=rev
Log:
use SimpleSiteManager for blog publication
Removed:
lenya/trunk/src/webapp/lenya/pubs/blog/content/archive/
lenya/trunk/src/webapp/lenya/pubs/blog/content/authoring/sitetree.xml
lenya/trunk/src/webapp/lenya/pubs/blog/content/trash/
Modified:
lenya/trunk/src/webapp/lenya/pubs/blog/config/publication.xconf
lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/site/usecases/CreateBlogEntry.java
Modified: lenya/trunk/src/webapp/lenya/pubs/blog/config/publication.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/blog/config/publication.xconf?rev=170601&r1=170600&r2=170601&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/blog/config/publication.xconf (original)
+++ lenya/trunk/src/webapp/lenya/pubs/blog/config/publication.xconf Tue May 17 07:08:12 2005
@@ -26,4 +26,5 @@
<document-builder name="default"/>
<breadcrumb-prefix/>
<ssl-prefix/>
+ <site-manager name="simple"/>
</publication>
Modified: lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/site/usecases/CreateBlogEntry.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/site/usecases/CreateBlogEntry.java?rev=170601&r1=170600&r2=170601&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/site/usecases/CreateBlogEntry.java (original)
+++ lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/site/usecases/CreateBlogEntry.java Tue May 17 07:08:12 2005
@@ -16,7 +16,6 @@
*/
package org.apache.lenya.cms.site.usecases;
-import java.io.File;
import java.util.Map;
import java.util.HashMap;
@@ -31,9 +30,6 @@
import org.apache.lenya.cms.metadata.dublincore.DublinCore;
import org.apache.lenya.cms.publication.Document;
import org.apache.lenya.cms.publication.DocumentManager;
-import org.apache.lenya.cms.publication.DocumentType;
-import org.apache.lenya.cms.publication.DocumentTypeBuilder;
-import org.apache.lenya.cms.publication.Publication;
import org.apache.lenya.cms.usecase.DocumentUsecase;
@@ -111,7 +107,7 @@
null,
NodeCreatorInterface.LEAF_NODE,
allParameters,
- false);
+ true);
}
finally {
if (documentManager != null)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org