[Yanel-commits] rev 20601 - public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources

michi at wyona.com michi at wyona.com
Tue Dec 5 23:10:56 CET 2006


Author: michi
Date: 2006-12-05 23:10:55 +0100 (Tue, 05 Dec 2006)
New Revision: 20601

Modified:
   public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources/WikiResource.java
Log:
xslt added whereas this should be hardcoded

Modified: public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources/WikiResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources/WikiResource.java	2006-12-05 22:09:43 UTC (rev 20600)
+++ public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources/WikiResource.java	2006-12-05 22:10:55 UTC (rev 20601)
@@ -362,7 +362,10 @@
             repository = rpRTI.getRepo();
             org.wyona.yarep.core.Path newPath = new org.wyona.yarep.core.Path(rpRTI.getPath().getParent() + "/" + createName);
 
-            String content = "<{http://www.wyona.org/yanel/resource/1.0}wiki/>\nmime-type: application/xhtml+xml";
+            // TODO: Do not hardcode xslt ...
+            String content = "<{http://www.wyona.org/yanel/resource/1.0}wiki/>\nxslt: /xslt/global.xsl";
+            // TODO: Make mime-type configurable
+            //String content = "<{http://www.wyona.org/yanel/resource/1.0}wiki/>\nmime-type: application/xhtml+xml\nxslt: /xslt/global.xsl";
 
             log.info("Writing content to repository " + repository.getName() + " with content:\n" + content + "\nto path: " + newPath);
 




More information about the Yanel-commits mailing list