[Dive4elements-commits] [PATCH 2 of 2] merged

Wald Commits scm-commit at wald.intevation.org
Thu May 23 17:32:57 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1369323165 -7200
# Node ID a0dbc60f78ee151857e261bc320a57daed53503f
# Parent  176664f84d865e0eaac7ba5e75e118ad83b739b2
# Parent  c7777feea223175aa9a8dcb0deaed3e85c241f59
merged

diff -r 176664f84d86 -r a0dbc60f78ee artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java	Thu May 23 17:32:20 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java	Thu May 23 17:32:45 2013 +0200
@@ -577,6 +577,16 @@
             parent.appendChild(owner.createTextNode(value));
         }
 
+        protected void message(Node parent, Element current)
+        throws SQLException
+        {
+            log.debug("dc:message");
+            if (log.isInfoEnabled()) {
+                String value = expand(current.getTextContent());
+                log.info("MESSAGE: " + value);
+            }
+        }
+
         /**
          * Add attribute to an element
          * @see Element
@@ -893,6 +903,9 @@
                     else if ("text".equals(localName)) {
                         text(parent, curr);
                     }
+                    else if ("message".equals(localName)) {
+                        message(parent, curr);
+                    }
                     else if ("variable".equals(localName)) {
                         variable(curr);
                     }


More information about the Dive4elements-commits mailing list