/** * Add a <code>Constant</code> to the locale level. * * @param name The constant name * @param value The constant value */ public void addConstant(String name, String value) { if (constants.containsKey(name)) { getLog().error("Constant '" + name + "' already exists in FormSet[" + this.displayKey() + "] - ignoring."); } else { constants.put(name, value); } }
/** * Add a <code>Form</code> to the <code>FormSet</code>. * * @param f The form */ public void addForm(Form f) { String formName = f.getName(); if (forms.containsKey(formName)) { getLog().error("Form '" + formName + "' already exists in FormSet[" + this.displayKey() + "] - ignoring."); } else { forms.put(f.getName(), f); } }
if (formSet != null) { if (getLog().isDebugEnabled()) { getLog().debug("FormSet[" + formSet.displayKey() + "] found - merging."); getLog().debug("FormSet[" + formSet.displayKey() + "] created.");
/** * Add a <code>Constant</code> to the locale level. * * @param name The constant name * @param value The constant value */ public void addConstant(String name, String value) { if (constants.containsKey(name)) { getLog().error("Constant '" + name + "' already exists in FormSet[" + this.displayKey() + "] - ignoring."); } else { constants.put(name, value); } }
/** * Add a <code>Constant</code> to the locale level. * * @param name The constant name * @param value The constant value */ public void addConstant(String name, String value) { if (constants.containsKey(name)) { getLog().error("Constant '" + name + "' already exists in FormSet[" + this.displayKey() + "] - ignoring."); } else { constants.put(name, value); } }
/** * Add a <code>Form</code> to the <code>FormSet</code>. * * @param f The form */ public void addForm(Form f) { String formName = f.getName(); if (forms.containsKey(formName)) { getLog().error("Form '" + formName + "' already exists in FormSet[" + this.displayKey() + "] - ignoring."); } else { forms.put(f.getName(), f); } }
/** * Add a <code>Form</code> to the <code>FormSet</code>. * * @param f The form */ public void addForm(Form f) { String formName = f.getName(); if (forms.containsKey(formName)) { getLog().error("Form '" + formName + "' already exists in FormSet[" + this.displayKey() + "] - ignoring."); } else { forms.put(f.getName(), f); } }
if (formSet != null) { if (getLog().isDebugEnabled()) { getLog().debug("FormSet[" + formSet.displayKey() + "] found - merging."); getLog().debug("FormSet[" + formSet.displayKey() + "] created.");
if (formSet != null) { if (getLog().isDebugEnabled()) { getLog().debug("FormSet[" + formSet.displayKey() + "] found - merging."); getLog().debug("FormSet[" + formSet.displayKey() + "] created.");