comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java @ 1063:e7c1ebfc2701

Repaired xpath expressions for wms srid and background layers that broke after the floodmap config structure changed. flys-artifacts/trunk@2541 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 24 Aug 2011 07:51:12 +0000
parents ae198bef4ba0
children 5d8b3880a553
comparison
equal deleted inserted replaced
1062:ee105e5d5ead 1063:e7c1ebfc2701
30 30
31 @Override 31 @Override
32 protected void initialize(Artifact artifact, Object context, CallMeta meta) { 32 protected void initialize(Artifact artifact, Object context, CallMeta meta) {
33 logger.debug("Initialize internal state with: "+ artifact.identifier()); 33 logger.debug("Initialize internal state with: "+ artifact.identifier());
34 34
35 FLYSArtifact flys = (FLYSArtifact) artifact;
36 addData("river", flys.getData("river"));
37
35 List<Facet> fs = new ArrayList<Facet>(); 38 List<Facet> fs = new ArrayList<Facet>();
36 39
37 // TODO Add CallMeta 40 // TODO Add CallMeta
38 DefaultState state = (DefaultState) getCurrentState(context); 41 DefaultState state = (DefaultState) getCurrentState(context);
39 state.computeInit(this, hash(), context, meta, fs); 42 state.computeInit(this, hash(), context, meta, fs);

http://dive4elements.wald.intevation.org