]> git.mxchange.org Git - jjobs-war.git/commitdiff
no recruiter here
authorRoland Häder <roland@mxchange.org>
Sun, 23 Apr 2017 12:09:55 +0000 (14:09 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 23 Apr 2017 12:09:55 +0000 (14:09 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/beans/helper/JobsWebRequestHelperBean.java
src/java/org/mxchange/jjobs/beans/user/JobsUserWebSessionBean.java
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/templates/guest/recruiter/guest_login_form.tpl
web/WEB-INF/templates/login/user/user_enter_current_password.tpl

index f6b7b1e3b81614c2ba6d9398a4a966b64b30bd23..5cd85ba408495a0b5800a3f4224857bb108f9008 100644 (file)
@@ -312,7 +312,7 @@ public class JobsWebRequestHelperBean extends BaseJobsController implements Jobs
                // Default key is "unused"
                String messageKey = "CONTACT_IS_UNUSED"; //NOI18N
 
-               // Check user/recruiter
+               // Check user contact
                boolean isUserContact = this.userController.isContactFound(contact);
 
                // Check user first
index bcdb7a9891658c97ff3194d742988c8d73e33bcb..1759cd86e8bdaf230ed1f105b6e2ba4dfb2e52ea 100644 (file)
@@ -550,23 +550,23 @@ public class JobsUserWebSessionBean extends BaseJobsController implements JobsUs
                // Is all data set?
                if (this.getUserName() == null) {
                        // Throw NPE
-                       throw new NullPointerException("recruiterName is null"); //NOI18N
+                       throw new NullPointerException("userName is null"); //NOI18N
                } else if (this.getUserName().isEmpty()) {
                        // Is empty
-                       throw new IllegalStateException("recruiterName is empty."); //NOI18N
+                       throw new IllegalStateException("userName is empty."); //NOI18N
                }
 
-               // Create new recruiter instance
-               User recruiter = new LoginUser();
+               // Create new user instance
+               User user = new LoginUser();
 
                // Update all data ...
-               recruiter.setUserName(this.getUserName());
+               user.setUserName(this.getUserName());
 
                // Trace message
-               //* NOISY-DEBUG */ System.out.println(MessageFormat.format("{0}.createUserLogin: recruiter={1} - EXIT!", this.getClass().getSimpleName(), recruiter));
+               //* NOISY-DEBUG */ System.out.println(MessageFormat.format("{0}.createUserLogin: user={1} - EXIT!", this.getClass().getSimpleName(), user));
 
                // Return the new instance
-               return recruiter;
+               return user;
        }
 
        @Override
index 7391b0d57376e2c4f9116e634da54d7fbcf27c49..a57eecd8bbefc2e6807c5e359dbaec653d532622 100644 (file)
@@ -455,7 +455,7 @@ GUEST_AGREE_READ_TERMS_CONDITIONS_1=Yes, I have read and understand the
 GUEST_AGREE_READ_TERMS_CONDITIONS_2=and I accept them with this.
 LINK_GUEST_TERMS_CONDITIONS=Terms & Conditions
 LINK_GUEST_PRIVACY_STATEMENTS=privacy statements
-ADMIN_ADD_OR_ENTER_CONTACT_DATA=... or enter the recruiter's contact data:
+ADMIN_ADD_OR_ENTER_CONTACT_DATA=... or enter the user's contact data:
 ADMIN_PERSONAL_DATA_EMAIL_ADDRESS=Email address:
 ERROR_CONTACT_ID_NOT_FOUND=Error: contact data not found
 GUEST_REGISTRATION_PAGE1_TITLE=Registration page 1
index 7ae3ace4cf73fba258964b1ab3eb93275cf6145f..a2c8e79cbf08edda3f93d7fae460ab6df9b6858b 100644 (file)
@@ -4,23 +4,22 @@
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
-       <div id="recruiter_login_content">
                <h:form id="login_form">
                        <div class="table">
                                <div class="table_header">
-                                       <h:outputText value="#{msg.GUEST_ENTER_RECRUITER_LOGIN_DATA_TITLE}" />
+                                       <h:outputText value="#{msg.GUEST_ENTER_USER_LOGIN_DATA_TITLE}" />
                                </div>
 
                                <fieldset id="login_data">
-                                       <legend title="#{msg.GUEST_ENTER_RECRUITER_LOGIN_DATA_LEGEND_TITLE}">#{msg.GUEST_ENTER_RECRUITER_LOGIN_DATA_LEGEND}</legend>
+                                       <legend title="#{msg.GUEST_ENTER_USER_LOGIN_DATA_LEGEND_TITLE}">#{msg.GUEST_ENTER_USER_LOGIN_DATA_LEGEND}</legend>
 
                                        <div class="table_row">
                                                <div class="table_left">
-                                                       <h:outputLabel for="recruiterName" value="#{msg.ENTER_RECRUITER_NAME}" />
+                                                       <h:outputLabel for="userName" value="#{msg.ENTER_USER_NAME}" />
                                                </div>
 
                                                <div class="table_right">
-                                                       <h:inputText styleClass="input" id="recruiterName" value="#{recruiterController.recruiterName}" size="10" maxlength="20" required="true" requiredMessage="#{msg.LOGIN_NO_RECRUITER_NAME_MESSAGE}" />
+                                                       <h:inputText styleClass="input" id="userName" value="#{userController.userName}" size="10" maxlength="20" required="true" requiredMessage="#{msg.LOGIN_NO_USER_NAME_MESSAGE}" />
                                                </div>
                                        </div>
 
 
                                        <div class="table_row">
                                                <div class="table_left">
-                                                       <h:outputLabel for="recruiterPassword" value="#{msg.ENTER_PASSWORD}" />
+                                                       <h:outputLabel for="userPassword" value="#{msg.ENTER_PASSWORD}" />
                                                </div>
 
                                                <div class="table_right">
-                                                       <h:inputSecret styleClass="input" id="recruiterPassword" value="#{recruiterController.recruiterPassword}" size="10" maxlength="255" required="true" requiredMessage="#{msg.LOGIN_NO_PASSWORD_MESSAGE}" />
+                                                       <h:inputSecret styleClass="input" id="userPassword" value="#{userController.userPassword}" size="10" maxlength="255" required="true" requiredMessage="#{msg.LOGIN_NO_PASSWORD_MESSAGE}" />
                                                </div>
                                        </div>
 
@@ -41,7 +40,7 @@
 
                                <div class="table_footer">
                                        <h:commandButton styleClass="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
-                                       <h:commandButton styleClass="submit" type="submit" action="#{recruiterLoginController.doUserLogin()}" value="#{msg.BUTTON_RECRUITER_LOGIN}" />
+                                       <h:commandButton styleClass="submit" type="submit" action="#{userLoginController.doUserLogin()}" value="#{msg.BUTTON_USER_LOGIN}" />
                                </div>
                        </div>
                </h:form>
index 15dda796cb3f4fd95012e682b967843d314fba1a..db264d56b58da280769f82e885d2d56dab38fe67 100644 (file)
@@ -18,7 +18,7 @@
 
                                        <div class="table_right">
                                                <h:inputSecret styleClass="input" id="currentPassword" size="10" maxlength="255" value="#{userLoginController.userCurrentPassword}" required="true" validatorMessage="#{msg.ERROR_USER_CURRENT_PASSWORD_MISMATCHING}">
-                                                       <!-- <f:validator for="currentPassword" validatorId="RecruiterUserPasswordValidator" /> //-->
+                                                       <!-- <f:validator for="currentPassword" validatorId="JobsUserPasswordValidator" /> //-->
                                                </h:inputSecret>
                                        </div>