[Dive4elements-commits] [PATCH 3 of 4] [branch dc-km-filter] Builder: Let dc:variables always be global
Wald Commits
scm-commit at wald.intevation.org
Wed Jan 30 15:47:43 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1359557570 -3600
# Branch dc-km-filter
# Node ID 2cec81e697e8d992326339578aea36262e49c427
# Parent bbedd9af069e9351fe81d83ac68c9b383d9c6b4e
[branch dc-km-filter] Builder: Let dc:variables always be global.
diff -r bbedd9af069e -r 2cec81e697e8 flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java Wed Jan 30 15:52:05 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java Wed Jan 30 15:52:50 2013 +0100
@@ -534,9 +534,11 @@
log.error("dc:variable 'name' or 'expr' empty.");
}
else {
- frames.put(
+ Object o = evaluateXPath(expr, typeToQName(type));
+ frames.putGlobal(
varName.toUpperCase(),
- evaluateXPath(expr, typeToQName(type)));
+ o
+ );
}
}
More information about the Dive4elements-commits
mailing list