errors.add(Globals.ERROR_KEY, new ActionMessage("createAccount.error.noUsername"));
}
if (username.length() > 75) {
errors.add(Globals.ERROR_KEY, new ActionMessage("createAccount.error.usernameExceeds75Chars"));
}
if (udb.supportsAccountCreation()) {
if (fullname == null || fullname.length() == 0) {
errors.add(Globals.ERROR_KEY, new ActionMessage("createAccount.error.noFullName"));
}
if (fullname.length() > 75) {
errors.add(Globals.ERROR_KEY, new ActionMessage("createAccount.error.fullNameExceeds75Chars"));