if(props == null)
props = new HashMap();
// start by getting our runtimeConfigDefs
RuntimeConfigDefs runtimeConfigDefs =
WebloggerRuntimeConfig.getRuntimeConfigDefs();
// can't do initialization without our config defs
if(runtimeConfigDefs == null)
return props;
// iterator through all the definitions and add properties
// that are not already in our props map
ConfigDef configDef = null;
DisplayGroup dGroup = null;
PropertyDef propDef = null;
Iterator defs = runtimeConfigDefs.getConfigDefs().iterator();
while(defs.hasNext()) {
configDef = (ConfigDef) defs.next();
Iterator groups = configDef.getDisplayGroups().iterator();
while(groups.hasNext()) {