changeset 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 7140bb0f92b0
children 005f35995468
files flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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