diff flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 2737:83b22ccf48da

Introduced theme groups and added new service to get themes filtered by name. flys-artifacts/trunk@4470 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 23 May 2012 08:46:45 +0000
parents 306b9d0f0fb3
children 26119b7b3154
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java	Wed May 23 08:12:49 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java	Wed May 23 08:46:45 2012 +0000
@@ -955,7 +955,12 @@
             log.error("Exception caught when trying to get art.", dbe);
         }
 
-        Theme t = ThemeFactory.getTheme(flysContext, facet, pattern, outName);
+        Theme t = ThemeFactory.getTheme(
+                      flysContext,
+                      facet,
+                      pattern,
+                      outName,
+                      "default");
 
         if (t != null) {
             t.setFacet(facet);

http://dive4elements.wald.intevation.org