[Yanel-commits] rev 48374 - public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources

michi at wyona.com michi at wyona.com
Tue Mar 30 10:20:45 CEST 2010


Author: michi
Date: 2010-03-30 10:20:44 +0200 (Tue, 30 Mar 2010)
New Revision: 48374

Modified:
   public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
Log:
get template path

Modified: public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
===================================================================
--- public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java	2010-03-30 08:12:56 UTC (rev 48373)
+++ public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java	2010-03-30 08:20:44 UTC (rev 48374)
@@ -351,6 +351,9 @@
             Writer writer = new java.io.OutputStreamWriter(newNode.getOutputStream());
 
             log.warn("TODO: Replace this hard-coded text by some template!");
+            String templatePath = request.getParameter("rp.template");
+            log.debug("Template path: " + templatePath);
+
             writer.write("<?xml version=\"1.0\"?>");
             writer.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">");
             writer.write("<head>");



More information about the Yanel-commits mailing list