// having input name "submit" causes problems with javascript, so we
// create a unique string to replace it by prepending a path separator
if (inputName.equals("submit"))
{
inputName.prepend(Component.PATH_SEPARATOR);
}
Form form = (Form)findParent(Form.class);
if (form != null)
{