diff flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java @ 4284:7a94d5e7fc3d

Write the "hidden" attribute of a style into the collection's attribute when using the theme editor. Otherwise, the next time using the theme editor, the hidden attributes that should not be changed by the user are visible.
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 29 Oct 2012 07:18:42 +0100
parents cd068ff7966d
children b296d435fc69
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java	Mon Oct 29 06:54:48 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java	Mon Oct 29 07:18:42 2012 +0100
@@ -191,6 +191,7 @@
                 field.setAttribute("default", set.getDefaultValue());
                 field.setAttribute("hints", set.getHints());
                 field.setAttribute("type", set.getType());
+                field.setAttribute("hidden", String.valueOf(set.isHidden()));
                 theme.appendChild(field);
             }
             themes.appendChild(theme);

http://dive4elements.wald.intevation.org