final Boolean isRegistered = BASIC_DATA_LIST_CONTROLLER.isEmailAddressRegistered(emailAddress);
// Is the email address already registered?
- if ((!clientId.endsWith("resendEmailAddress")) && (isRegistered)) { //NOI18N
+ if ((!clientId.endsWith("companyEmailAddress")) && (isRegistered)) { //NOI18N
// Generate message
final String message = MessageFormat.format("Email address {0} is already registered.", emailAddress); //NOI18N
// No, then abort here
throw new ValidatorException(new FacesMessage(FacesMessage.SEVERITY_INFO, message, message));
- } else if ((clientId.endsWith("resendEmailAddress")) && (!isRegistered)) { //NOI18N
+ } else if ((clientId.endsWith("companyEmailAddress")) && (!isRegistered)) { //NOI18N
// Generate message
final String message = MessageFormat.format("Email address {0} is not registered.", emailAddress); //NOI18N
final Boolean isRegistered = BRANCH_OFFICE_LIST_CONTROLLER.isEmailAddressRegistered(emailAddress);
// Is the email address already registered?
- if ((!clientId.endsWith("resendEmailAddress")) && (isRegistered)) { //NOI18N
+ if ((!clientId.endsWith("branchEmailAddress")) && (isRegistered)) { //NOI18N
// Generate message
final String message = MessageFormat.format("Email address {0} is already registered.", emailAddress); //NOI18N
// No, then abort here
throw new ValidatorException(new FacesMessage(FacesMessage.SEVERITY_INFO, message, message));
- } else if ((clientId.endsWith("resendEmailAddress")) && (!isRegistered)) { //NOI18N
+ } else if ((clientId.endsWith("branchEmailAddress")) && (!isRegistered)) { //NOI18N
// Generate message
final String message = MessageFormat.format("Email address {0} is not registered.", emailAddress); //NOI18N
final Boolean isRegistered = EMPLOYEE_LIST_CONTROLLER.isEmailAddressRegistered(emailAddress);
// Is the email address already registered?
- if ((!clientId.endsWith("resendEmailAddress")) && (isRegistered)) { //NOI18N
+ if ((!clientId.endsWith("employeeEmailAddress")) && (isRegistered)) { //NOI18N
// Generate message
final String message = MessageFormat.format("Email address {0} is already registered.", emailAddress); //NOI18N
// No, then abort here
throw new ValidatorException(new FacesMessage(FacesMessage.SEVERITY_INFO, message, message));
- } else if ((clientId.endsWith("resendEmailAddress")) && (!isRegistered)) { //NOI18N
+ } else if ((clientId.endsWith("employeeEmailAddress")) && (!isRegistered)) { //NOI18N
// Generate message
final String message = MessageFormat.format("Email address {0} is not registered.", emailAddress); //NOI18N
final Boolean isRegistered = HEADQUARTER_LIST_CONTROLLER.isEmailAddressRegistered(emailAddress);
// Is the email address already registered?
- if ((!clientId.endsWith("resendEmailAddress")) && (isRegistered)) { //NOI18N
+ if ((!clientId.endsWith("headquarterEmailAddress")) && (isRegistered)) { //NOI18N
// Generate message
final String message = MessageFormat.format("Email address {0} is already registered.", emailAddress); //NOI18N
// No, then abort here
throw new ValidatorException(new FacesMessage(FacesMessage.SEVERITY_INFO, message, message));
- } else if ((clientId.endsWith("resendEmailAddress")) && (!isRegistered)) { //NOI18N
+ } else if ((clientId.endsWith("headquarterEmailAddress")) && (!isRegistered)) { //NOI18N
// Generate message
final String message = MessageFormat.format("Email address {0} is not registered.", emailAddress); //NOI18N