comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java @ 615:01054ddccb0f

Repaired multi parameter selection. gnv-artifacts/trunk@685 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 12 Feb 2010 15:36:05 +0000
parents 4b818f13e20a
children 3d13fa281a7e
comparison
equal deleted inserted replaced
614:e80e37b78302 615:01054ddccb0f
890 if (data == null) { 890 if (data == null) {
891 log.warn("No collection found with name: " + collectionName); 891 log.warn("No collection found with name: " + collectionName);
892 return c; 892 return c;
893 } 893 }
894 894
895 c.add(new DefaultKeyValueDescribeData( 895 String[] descs = data.getDescription();
896 data.getValue(), data.getDescription(), getID())); 896 String[] values = data.splitValue();
897 int size = values.length;
898
899 for (int i = 0; i < size; i++){
900 c.add(new DefaultKeyValueDescribeData(
901 values[i], descs[i], getID()));
902 }
897 903
898 return c; 904 return c;
899 } 905 }
900 } 906 }
901 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : 907 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org