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

josias at wyona.com josias at wyona.com
Wed Apr 2 13:28:48 CEST 2008


Author: josias
Date: 2008-04-02 13:28:47 +0200 (Wed, 02 Apr 2008)
New Revision: 34619

Modified:
   public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/xml/ConfigurableViewDescriptor.java
Log:
support 'indent' serializer property

Modified: public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/xml/ConfigurableViewDescriptor.java
===================================================================
--- public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/xml/ConfigurableViewDescriptor.java	2008-04-02 11:27:49 UTC (rev 34618)
+++ public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/xml/ConfigurableViewDescriptor.java	2008-04-02 11:28:47 UTC (rev 34619)
@@ -75,6 +75,10 @@
             if (propertyConfig != null) {
                 serializerProperties.setProperty("doctype-sytem", propertyConfig.getValue());
             }
+            propertyConfig = serializerConfig.getChild("indent", false);
+            if (propertyConfig != null) {
+                serializerProperties.setProperty("indent", propertyConfig.getValue());
+            }
         }
         
         if (type.equals(TYPE_JELLY)) {



More information about the Yanel-commits mailing list