Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 302:f526f02e8ce2
Bugfix: States are filled with data before they describe themself.
flys-artifacts/trunk@1664 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 12 Apr 2011 07:49:36 +0000 |
parents | 9a0e1289bab6 |
children | 2d393c8bd38c |
comparison
equal
deleted
inserted
replaced
301:1a00cb4998a8 | 302:f526f02e8ce2 |
---|---|
190 FLYSContext.STATE_ENGINE_KEY); | 190 FLYSContext.STATE_ENGINE_KEY); |
191 | 191 |
192 for (String stateId: stateIds) { | 192 for (String stateId: stateIds) { |
193 logger.debug("Append static data for state: " + stateId); | 193 logger.debug("Append static data for state: " + stateId); |
194 DefaultState state = (DefaultState) engine.getState(stateId); | 194 DefaultState state = (DefaultState) engine.getState(stateId); |
195 state = (DefaultState) fillState(state); | |
196 | |
195 ui.appendChild(state.describeStatic(doc, ui, context, uuid)); | 197 ui.appendChild(state.describeStatic(doc, ui, context, uuid)); |
196 } | 198 } |
197 | 199 |
198 } | 200 } |
199 } | 201 } |