comparison artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java @ 7888:49daff6c11ca

Use the new way of building static facets if such facets exist else ignore this way. Makes loading of datacage facets work again!
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 19 May 2014 12:47:50 +0200
parents 4e264d6c6e06
children e4606eae8ea5
comparison
equal deleted inserted replaced
7887:9c118aeec992 7888:49daff6c11ca
208 } 208 }
209 setCurrentState(states.get(0)); 209 setCurrentState(states.get(0));
210 210
211 handleInitModel(data, context, callMeta); 211 handleInitModel(data, context, callMeta);
212 212
213 buildStaticFacets(data, facets, callMeta); 213 if (!facets.isEmpty()) {
214 buildStaticFacets(data, facets, callMeta);
215 }
214 216
215 filterFacets = buildFilterFacets(data); 217 filterFacets = buildFilterFacets(data);
216 218
217 extractOut(data); 219 extractOut(data);
218 } 220 }

http://dive4elements.wald.intevation.org