]> git.mxchange.org Git - jjobs-war.git/commitdiff
removed CSS class from ui:include (not needed)
authorRoland Haeder <roland@mxchange.org>
Sat, 5 Mar 2016 21:21:29 +0000 (22:21 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 5 Mar 2016 21:21:29 +0000 (22:21 +0100)
src/java/org/mxchange/jjobs/beans/user/UserWebSessionBean.java
src/java/org/mxchange/jjobs/beans/user/UserWebSessionController.java
web/WEB-INF/templates.dist/login_page.xhtml
web/login/login_add_addressbook.xhtml
web/login/login_change_email_address.xhtml
web/login/login_change_password.xhtml
web/login/login_change_personal_data.xhtml
web/login/login_data_saved.xhtml
web/login/login_edit_user_data.xhtml
web/login/login_index.xhtml
web/login/login_own_addressbooks.xhtml

index e2919895f19bfaa2979804dfa818645fcaff9774..c0f50417def801d179506d81b6b0ef28f89c85b9 100644 (file)
@@ -102,6 +102,16 @@ public class UserWebSessionBean implements UserWebSessionController {
         */
        private String emailAddress;
 
+       /**
+        * Email address 1 (changing)
+        */
+       private String emailAddress1;
+
+       /**
+        * Email address 2 (repeat in changing)
+        */
+       private String emailAddress2;
+
        /**
         * Email address list
         */
@@ -559,6 +569,26 @@ public class UserWebSessionBean implements UserWebSessionController {
                this.emailAddress = emailAddress;
        }
 
+       @Override
+       public String getEmailAddress1 () {
+               return this.emailAddress1;
+       }
+
+       @Override
+       public void setEmailAddress1 (final String emailAddress1) {
+               this.emailAddress1 = emailAddress1;
+       }
+
+       @Override
+       public String getEmailAddress2 () {
+               return this.emailAddress2;
+       }
+
+       @Override
+       public void setEmailAddress2 (final String emailAddress2) {
+               this.emailAddress2 = emailAddress2;
+       }
+
        @Override
        public String getEmailAddressRepeat () {
                return this.emailAddressRepeat;
index 9d8c2866285d134f3767f3e68551eaac386e6eff..9b68c9c28a6959ed328af113570916c062ecb93a 100644 (file)
@@ -174,6 +174,34 @@ public interface UserWebSessionController extends Serializable {
         */
        void setEmailAddress (final String emailAddress);
 
+       /**
+        * Getter for email address 1 (changing)
+        * <p>
+        * @return Email address
+        */
+       String getEmailAddress1 ();
+
+       /**
+        * Setter for email address 1 (changing)
+        * <p>
+        * @param emailAddress1 Email address 1
+        */
+       void setEmailAddress1 (final String emailAddress1);
+
+       /**
+        * Getter for email address 2 (repeat changing)
+        * <p>
+        * @return Email address 2
+        */
+       String getEmailAddress2 ();
+
+       /**
+        * Setter for email address 2 (repeat changing)
+        * <p>
+        * @param emailAddress2 Email address 2
+        */
+       void setEmailAddress2 (final String emailAddress2);
+
        /**
         * Getter for email address, repeated
         * <p>
index b021f0a5f6eaf4e6af81f7ecc7aaa98e11e6b0b5..54832f1b9d23fa94950661451af3b3438b24b903 100644 (file)
@@ -19,7 +19,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>
index d186b4adcad5a8583c146311d74ccd16e934ad69..cbe38409675386932af8df0f6bada3b2b90b902c 100644 (file)
@@ -42,7 +42,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>
index 7550822b2d647723ef910ddef46aa346acfdc51c..84bba0df2891668d1578414e40a2d3bcc1dd5b4c 100644 (file)
                                                        <fieldset id="change_email">
                                                                <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">#{msg.LOGIN_CHANGE_EMAIL_LEGEND}</legend>
 
+                                                               <div class="table_row">
+                                                                       <div class="table_left">
+                                                                               #{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}
+                                                                       </div>
+
+                                                                       <div class="table_right">
+                                                                               #{userController.emailAddress}
+                                                                       </div>
+
+                                                                       <div class="clear"></div>
+                                                               </div>
+
                                                                <div class="table_row">
                                                                        <div class="table_left">
                                                                                <h:outputLabel for="emailAddress1" value="#{msg.LOGIN_CHANGE_EMAIL_ENTER_EMAIL1}" />
                                                                        </div>
 
                                                                        <div class="table_right">
-                                                                               <h:inputText class="input" id="emailAddress1" size="20" maxlength="255" value="#{userController.emailAddress}" required="true" />
+                                                                               <h:inputText class="input" id="emailAddress1" size="20" maxlength="255" value="#{userController.emailAddress1}" required="true" />
                                                                        </div>
 
                                                                        <div class="clear"></div>
@@ -47,7 +59,7 @@
                                                                        </div>
 
                                                                        <div class="table_right">
-                                                                               <h:inputText class="input" id="emailAddress2" size="20" maxlength="255" value="#{userController.emailAddressRepeat}" required="true" />
+                                                                               <h:inputText class="input" id="emailAddress2" size="20" maxlength="255" value="#{userController.emailAddress2}" required="true" />
                                                                        </div>
 
                                                                        <div class="clear"></div>
 
                                                <div class="table_footer">
                                                        <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
-                                                       <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{userController.changeEmailAddress()}" />
+                                                       <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{userController.doChangeEmailAddress()}" />
                                                </div>
                                        </h:form>
                                </div>
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>
index 5b7ff4a7bf6624575eb53cef469aef7a70894dd6..cd98d12c94dd18502c90e9c752f6244248129b4d 100644 (file)
@@ -66,7 +66,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>
index b441a30407cc969b4d63d7649322bd32a9a322b4..f931f4d4e16ae3cefa9251549139181d50d8e566 100644 (file)
@@ -36,7 +36,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>
index d4fa96b4338ede7ca863d3a33fc7147cfc88a4b3..191f6277ae710dd6c5cc9eb2555b0e1d471e5c7c 100644 (file)
@@ -21,7 +21,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>
index 5208fa7e7623c0e1dfe65269a04351a971254262..0b53a90765567278e87d32d5e7fb2f641c2629f2 100644 (file)
@@ -41,7 +41,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>
index baa04c5a4b08f98e4480c32a8d3446528409ddcb..48b240291a03965a140872e3d9ce53001113b3c4 100644 (file)
@@ -19,7 +19,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>
index 1dca7e35d713dfca66ffa13d5094a5931ae90e89..6d9265823c39c8632c1cb7d5b9a09906e7bbf171 100644 (file)
@@ -58,7 +58,7 @@
                        </h:outputText>
 
                        <h:outputText rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </h:outputText>
                </ui:define>
        </ui:composition>