Properties props = parentCategory.getProperties();
// TODO: needs to be investigated, whether or not we should clone the categories
// when we rewrite them. This might cost a little bit, but we should have an
// easier time if we need to save the values back to the property/xml/database/etc.
// I think the save configuration might produce false results.
for (Iterator iter = props.keySet().iterator(); iter.hasNext();) {
String element = (String) iter.next();
if ( category.getProperty(element) == null) { // we don't want to overwrite the child value, if it exists
// in the parent config's category too!
// System.err.println("## ##");
category.setProperty(element, parentCategory.getProperty(element));