value = (String) confValues.get(inKey + "original");
}
boolean required = setupRequired(inKey, requiredText);
UrlValidatorFormElement urlVal = new UrlValidatorFormElement(labelVal, inKey, value, inInstructions, required,
new GenerateUrlCommand()
{
public String generateUrl(final String value)
{
return runJSNICommand(value, commandName);
}
});
formBuilder.addFormElement(urlVal);
formBuilder.addFormElement(urlVal.getOriginalValueFormElement());
hideSpinny();
// If we're updating, hit the import button.
if (mode.equals(Method.UPDATE))
{
urlVal.importUrl();
}
}