comparison 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
comparison
equal deleted inserted replaced
4283:7140bb0f92b0 4284:7a94d5e7fc3d
189 field.setAttribute("name", set.getName()); 189 field.setAttribute("name", set.getName());
190 field.setAttribute("display", set.getDisplayName()); 190 field.setAttribute("display", set.getDisplayName());
191 field.setAttribute("default", set.getDefaultValue()); 191 field.setAttribute("default", set.getDefaultValue());
192 field.setAttribute("hints", set.getHints()); 192 field.setAttribute("hints", set.getHints());
193 field.setAttribute("type", set.getType()); 193 field.setAttribute("type", set.getType());
194 field.setAttribute("hidden", String.valueOf(set.isHidden()));
194 theme.appendChild(field); 195 theme.appendChild(field);
195 } 196 }
196 themes.appendChild(theme); 197 themes.appendChild(theme);
197 } 198 }
198 styles.appendChild(action); 199 styles.appendChild(action);

http://dive4elements.wald.intevation.org