// Insert errors in form.
Enumeration enu = errors.elements();
while(enu.hasMoreElements()) {
String[] tmp = (String[]) enu.nextElement();
tAccountTH.addError(tmp[0], tmp[1]);
}
tAccountTH.setPersonUsernameInput("50", username, true);
tAccountTH.setPersonPasswordInput("50", passwrd, true);
tAccountTH.execute();