Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java @ 1329:b18b32269a3f
Set the correct index when saving changed attributes.
flys-client/trunk@2973 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 14 Oct 2011 13:35:21 +0000 |
parents | 974c6b3700de |
children | ab8eb2f544f2 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java Fri Oct 14 12:56:31 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java Fri Oct 14 13:35:21 2011 +0000 @@ -174,7 +174,7 @@ Element theme = creator.create("theme"); theme.setAttribute("name", s.getName()); theme.setAttribute("facet", s.getFacet()); - theme.setAttribute("index", String.valueOf(i)); + theme.setAttribute("index", String.valueOf(s.getIndex())); for (int j = 0; j < s.getNumSettings(); j++) { StyleSetting set = s.getSetting(j); Element field = creator.create("field");