Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 2325:1fcaeced48f2
#485 Fixed broken renaming of chart themes.
flys-artifacts/trunk@4009 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 09 Feb 2012 15:59:49 +0000 |
parents | 588db6f2e05a |
children | a71fc8f2030c |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Thu Feb 09 15:48:13 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Thu Feb 09 15:59:49 2012 +0000 @@ -462,9 +462,14 @@ String uuid = theme.getArtifact(); Artifact artifact = getArtifact(uuid, context); FLYSArtifact flys = (FLYSArtifact) artifact; - ArtifactAndFacet artifactAndFacet = new ArtifactAndFacet(artifact, + + ArtifactAndFacet artifactAndFacet = new ArtifactAndFacet( + artifact, flys.getNativeFacet(theme)); + // XXX HELP ME PLEASE + artifactAndFacet.setFacetDescription(theme.getDescription()); + // Show blackboard to facet. artifactAndFacet.register(context);