From: Roland Häder Date: Wed, 4 May 2016 10:58:03 +0000 (+0200) Subject: class was wrong, needs to be styleClass X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e96be6b90944d45af1b8746530f49d2790841fe9;p=jfinancials-war.git class was wrong, needs to be styleClass Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/addressbook/beans/email_address/AddressbookEmailChangeWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/email_address/AddressbookEmailChangeWebSessionBean.java index 9a379e7d..0c8956d0 100644 --- a/src/java/org/mxchange/addressbook/beans/email_address/AddressbookEmailChangeWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/email_address/AddressbookEmailChangeWebSessionBean.java @@ -26,13 +26,13 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; +import org.mxchange.addressbook.beans.login.AddressbookUserLoginWebSessionController; import org.mxchange.jcontacts.contact.Contact; import org.mxchange.jusercore.exceptions.UserPasswordMismatchException; import org.mxchange.jusercore.model.email_address.ChangeableEmailAddress; import org.mxchange.jusercore.model.email_address.EmailAddressChange; import org.mxchange.jusercore.model.email_address.EmailChangeSessionBeanRemote; import org.mxchange.jusercore.model.user.User; -import org.mxchange.addressbook.beans.login.AddressbookUserLoginWebSessionController; /** * A web session bean for changing email addresses @@ -51,12 +51,12 @@ public class AddressbookEmailChangeWebSessionBean implements AddressbookEmailCha /** * Email address 1 (changing) */ - private String emailAddress1; + private String emailAddress; /** * Email address 2 (repeat in changing) */ - private String emailAddress2; + private String emailAddressRepeat; /** * Local list of already queued email addresses @@ -103,7 +103,7 @@ public class AddressbookEmailChangeWebSessionBean implements AddressbookEmailCha } else if (!this.isRequiredChangeEmailAddressSet()) { // Not all required fields are set throw new FaceletException("Not all required fields are set."); //NOI18N - } else if (!Objects.equals(this.getEmailAddress1(), this.getEmailAddress2())) { + } else if (!Objects.equals(this.getEmailAddress(), this.getEmailAddressRepeat())) { // Email address 1+2 mismatch throw new FaceletException("Email address 1/2 are mismatching."); //NOI18N } else if (!this.loginController.ifCurrentPasswordMatches()) { @@ -123,7 +123,7 @@ public class AddressbookEmailChangeWebSessionBean implements AddressbookEmailCha assert (user.getUserContact().getContactId() > 0) : MessageFormat.format("Instance loginController.userContact.contactId={0} is invalid", user.getUserContact().getContactId()); //NOI18N // Get dummy email address - String dummyEmail = this.getEmailAddress1(); + String dummyEmail = this.getEmailAddress(); // Unset all so the user is forced to re-enter it this.clear(); @@ -145,29 +145,29 @@ public class AddressbookEmailChangeWebSessionBean implements AddressbookEmailCha } @Override - public String getEmailAddress1 () { - return this.emailAddress1; + public String getEmailAddress () { + return this.emailAddress; } @Override - public void setEmailAddress1 (final String emailAddress1) { - this.emailAddress1 = emailAddress1; + public void setEmailAddress (final String emailAddress) { + this.emailAddress = emailAddress; } @Override - public String getEmailAddress2 () { - return this.emailAddress2; + public String getEmailAddressRepeat () { + return this.emailAddressRepeat; } @Override - public void setEmailAddress2 (final String emailAddress2) { - this.emailAddress2 = emailAddress2; + public void setEmailAddressRepeat (final String emailAddressRepeat) { + this.emailAddressRepeat = emailAddressRepeat; } @Override public boolean isRequiredChangeEmailAddressSet () { - return ((this.getEmailAddress1() != null) && - (this.getEmailAddress2() != null)); + return ((this.getEmailAddress() != null) && + (this.getEmailAddressRepeat() != null)); } /** @@ -175,8 +175,8 @@ public class AddressbookEmailChangeWebSessionBean implements AddressbookEmailCha */ private void clear () { // Clear fields - this.setEmailAddress1(null); - this.setEmailAddress2(null); + this.setEmailAddress(null); + this.setEmailAddressRepeat(null); } /** @@ -186,7 +186,7 @@ public class AddressbookEmailChangeWebSessionBean implements AddressbookEmailCha *

* @param emailAddress Email address to verify *

- * @return Whether the email address in field emailAddress1 is already queued + * @return Whether the email address in field emailAddress is already queued */ private boolean isEmailAddressQueued (final String emailAddress) { // It should be there diff --git a/src/java/org/mxchange/addressbook/beans/email_address/AddressbookEmailChangeWebSessionController.java b/src/java/org/mxchange/addressbook/beans/email_address/AddressbookEmailChangeWebSessionController.java index 1d939fd0..373235a7 100644 --- a/src/java/org/mxchange/addressbook/beans/email_address/AddressbookEmailChangeWebSessionController.java +++ b/src/java/org/mxchange/addressbook/beans/email_address/AddressbookEmailChangeWebSessionController.java @@ -30,28 +30,28 @@ public interface AddressbookEmailChangeWebSessionController extends Serializable *

* @return Email address */ - String getEmailAddress1 (); + String getEmailAddress (); /** * Setter for email address 1 (changing) *

- * @param emailAddress1 Email address 1 + * @param emailAddress Email address 1 */ - void setEmailAddress1 (final String emailAddress1); + void setEmailAddress (final String emailAddress); /** * Getter for email address 2 (repeat changing) *

* @return Email address 2 */ - String getEmailAddress2 (); + String getEmailAddressRepeat (); /** * Setter for email address 2 (repeat changing) *

- * @param emailAddress2 Email address 2 + * @param emailAddressRepeat Email address 2 */ - void setEmailAddress2 (final String emailAddress2); + void setEmailAddressRepeat (final String emailAddressRepeat); /** * Checks whether all required are set for changing email address diff --git a/web/WEB-INF/templates.dist/login_page.xhtml b/web/WEB-INF/templates.dist/login_page.xhtml index a0b74076..ef04e61b 100644 --- a/web/WEB-INF/templates.dist/login_page.xhtml +++ b/web/WEB-INF/templates.dist/login_page.xhtml @@ -11,7 +11,7 @@ #{msg.PAGE_TITLE_LOGIN_FOO} - @@ -23,7 +23,7 @@ - diff --git a/web/WEB-INF/templates/admin/admin_base.tpl b/web/WEB-INF/templates/admin/admin_base.tpl index bd06406a..4ad01e36 100644 --- a/web/WEB-INF/templates/admin/admin_base.tpl +++ b/web/WEB-INF/templates/admin/admin_base.tpl @@ -3,17 +3,17 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - Administration - + Administration - Default admin title - + - + diff --git a/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl b/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl index b1c484b1..04aeab14 100644 --- a/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl +++ b/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl @@ -29,9 +29,7 @@

- - - +
@@ -43,9 +41,7 @@
- - - +
@@ -57,7 +53,7 @@
- +
@@ -69,7 +65,7 @@
- +
@@ -83,7 +79,7 @@
- +
@@ -97,7 +93,7 @@
- +
@@ -109,7 +105,7 @@
- + @@ -124,16 +120,16 @@
- + - + - +
@@ -147,16 +143,16 @@
- + - + - +
@@ -177,6 +173,18 @@
+ +
+
+ +
+ +
+ +
+ +
+
diff --git a/web/WEB-INF/templates/admin/country/admin_form_country_data.tpl b/web/WEB-INF/templates/admin/country/admin_form_country_data.tpl index c77f8b6e..4700255e 100644 --- a/web/WEB-INF/templates/admin/country/admin_form_country_data.tpl +++ b/web/WEB-INF/templates/admin/country/admin_form_country_data.tpl @@ -19,7 +19,7 @@
- +
@@ -33,11 +33,11 @@
- + - +
@@ -49,7 +49,7 @@
- +
@@ -63,7 +63,7 @@
- + @@ -78,7 +78,7 @@
- +
@@ -92,11 +92,11 @@
- + - +
diff --git a/web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl b/web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl index bef9b00a..9bbaf3d1 100644 --- a/web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl +++ b/web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl @@ -19,7 +19,7 @@
- +
@@ -33,9 +33,9 @@
- + - +
@@ -47,7 +47,7 @@
- +
@@ -59,7 +59,7 @@
- +
diff --git a/web/WEB-INF/templates/admin/user/admin_form_user_data.tpl b/web/WEB-INF/templates/admin/user/admin_form_user_data.tpl index 08f223d9..8ff1740d 100644 --- a/web/WEB-INF/templates/admin/user/admin_form_user_data.tpl +++ b/web/WEB-INF/templates/admin/user/admin_form_user_data.tpl @@ -18,7 +18,7 @@
- +
@@ -33,7 +33,7 @@
- +
@@ -48,7 +48,7 @@
- +
@@ -60,7 +60,7 @@
- +
@@ -71,7 +71,7 @@
  • #{msg.ADMIN_USER_DATA_USER_NAME_NOTICE}
  • - +
  • diff --git a/web/WEB-INF/templates/contact/form_contact_data.tpl b/web/WEB-INF/templates/contact/form_contact_data.tpl new file mode 100644 index 00000000..30065fd4 --- /dev/null +++ b/web/WEB-INF/templates/contact/form_contact_data.tpl @@ -0,0 +1,218 @@ + + + +
    + #{msg.PERSONAL_DATA_MINIMUM_NOTICE} +
    + +
    +
    + #{msg.PERSONAL_DATA_LEGEND} + +
    +
    + +
    + +
    + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + + + + + + + + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + + + + + + + + + + +
    + +
    +
    + +
    +
    + +
    + +
    + + + +
    + +
    +
    +
    +
    + +
    +
    + #{msg.USER_PROFILE_LEGEND} + +
    +
    + +
    + +
    + +
    + +
    +
    + +
    +
    +
      +
    • #{msg.USER_PROFILE_MODE_SELECTION_NOTICE1}
    • +
    • #{msg.USER_PROFILE_MODE_SELECTION_NOTICE2}
    • +
    • #{msg.USER_PROFILE_MODE_SELECTION_NOTICE3}
    • +
    +
    +
    +
    +
    +
    diff --git a/web/WEB-INF/templates/generic/form_personal_data.tpl b/web/WEB-INF/templates/generic/form_personal_data.tpl index a39b1a92..30065fd4 100644 --- a/web/WEB-INF/templates/generic/form_personal_data.tpl +++ b/web/WEB-INF/templates/generic/form_personal_data.tpl @@ -33,7 +33,7 @@
    - +
    @@ -47,7 +47,7 @@
    - +
    @@ -61,7 +61,7 @@
    - +
    @@ -75,7 +75,7 @@
    - +
    @@ -89,7 +89,7 @@
    - +
    @@ -103,7 +103,7 @@
    - +
    @@ -117,9 +117,9 @@
    - + - +
    @@ -132,16 +132,16 @@
    - + - + - + - +
    @@ -155,16 +155,16 @@
    - + - + - + - +
    @@ -207,9 +207,9 @@
      -
    • #{msg.SELECTION_NOTICE_USER_PROFILE_MODE_INVISIBLE}
    • -
    • #{msg.SELECTION_NOTICE_USER_PROFILE_MODE_MEMBERS}
    • -
    • #{msg.SELECTION_NOTICE_USER_PROFILE_MODE_PUBLIC}
    • +
    • #{msg.USER_PROFILE_MODE_SELECTION_NOTICE1}
    • +
    • #{msg.USER_PROFILE_MODE_SELECTION_NOTICE2}
    • +
    • #{msg.USER_PROFILE_MODE_SELECTION_NOTICE3}
    diff --git a/web/WEB-INF/templates/generic/gender_selection_box.tpl b/web/WEB-INF/templates/generic/gender_selection_box.tpl index b439e935..4a5919f1 100644 --- a/web/WEB-INF/templates/generic/gender_selection_box.tpl +++ b/web/WEB-INF/templates/generic/gender_selection_box.tpl @@ -6,7 +6,7 @@ xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - + diff --git a/web/WEB-INF/templates/generic/mobile_selection_box.tpl b/web/WEB-INF/templates/generic/mobile_selection_box.tpl index 55ea9e3f..14515170 100644 --- a/web/WEB-INF/templates/generic/mobile_selection_box.tpl +++ b/web/WEB-INF/templates/generic/mobile_selection_box.tpl @@ -6,12 +6,12 @@ xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - + - + diff --git a/web/WEB-INF/templates/generic/profile_mode_selection_box.tpl b/web/WEB-INF/templates/generic/profile_mode_selection_box.tpl index 5b59fb43..30799916 100644 --- a/web/WEB-INF/templates/generic/profile_mode_selection_box.tpl +++ b/web/WEB-INF/templates/generic/profile_mode_selection_box.tpl @@ -5,7 +5,7 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - - + + diff --git a/web/WEB-INF/templates/generic/user_profile_link.tpl b/web/WEB-INF/templates/generic/user_profile_link.tpl index 26fe3516..6188f9c1 100644 --- a/web/WEB-INF/templates/generic/user_profile_link.tpl +++ b/web/WEB-INF/templates/generic/user_profile_link.tpl @@ -7,7 +7,7 @@ - + diff --git a/web/WEB-INF/templates/guest/guest_base.tpl b/web/WEB-INF/templates/guest/guest_base.tpl index 5b18b854..4b2e0aa9 100644 --- a/web/WEB-INF/templates/guest/guest_base.tpl +++ b/web/WEB-INF/templates/guest/guest_base.tpl @@ -5,14 +5,14 @@ xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - + Default guest title - + - + diff --git a/web/WEB-INF/templates/guest/guest_login_form.tpl b/web/WEB-INF/templates/guest/guest_login_form.tpl index f6384692..03ca598f 100644 --- a/web/WEB-INF/templates/guest/guest_login_form.tpl +++ b/web/WEB-INF/templates/guest/guest_login_form.tpl @@ -4,6 +4,7 @@ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> +
    @@ -20,7 +21,7 @@
    - +
    @@ -32,7 +33,7 @@
    - +
    @@ -40,8 +41,8 @@ diff --git a/web/WEB-INF/templates/guest/guest_privacy_terms.tpl b/web/WEB-INF/templates/guest/guest_privacy_terms.tpl index d49b5643..e4b3f398 100644 --- a/web/WEB-INF/templates/guest/guest_privacy_terms.tpl +++ b/web/WEB-INF/templates/guest/guest_privacy_terms.tpl @@ -11,7 +11,7 @@
    - +
    @@ -27,7 +27,7 @@
    - +
    diff --git a/web/WEB-INF/templates/guest/guest_registration_form.tpl b/web/WEB-INF/templates/guest/guest_registration_form.tpl index fe5758e6..73e5c5a0 100644 --- a/web/WEB-INF/templates/guest/guest_registration_form.tpl +++ b/web/WEB-INF/templates/guest/guest_registration_form.tpl @@ -24,7 +24,7 @@
    - +
    @@ -36,7 +36,7 @@
    - +
    @@ -48,7 +48,7 @@
    - +
    @@ -62,7 +62,7 @@
    - +
    @@ -74,7 +74,7 @@
    - +
    @@ -89,8 +89,8 @@ diff --git a/web/WEB-INF/templates/login/login_base.tpl b/web/WEB-INF/templates/login/login_base.tpl index dafc7786..7af8e037 100644 --- a/web/WEB-INF/templates/login/login_base.tpl +++ b/web/WEB-INF/templates/login/login_base.tpl @@ -5,18 +5,18 @@ xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html"> - #{msg.PAGE_TITLE_LOGIN_AREA} - + #{msg.PAGE_TITLE_LOGIN_AREA} - Default login title - - - diff --git a/web/WEB-INF/templates/login/login_enter_current_password.tpl b/web/WEB-INF/templates/login/login_enter_current_password.tpl index 9f32eb9b..9a732b38 100644 --- a/web/WEB-INF/templates/login/login_enter_current_password.tpl +++ b/web/WEB-INF/templates/login/login_enter_current_password.tpl @@ -14,9 +14,9 @@
    - - - + + +
    diff --git a/web/admin/contact/admin_contact_delete.xhtml b/web/admin/contact/admin_contact_delete.xhtml index 5ca8b083..badc92e3 100644 --- a/web/admin/contact/admin_contact_delete.xhtml +++ b/web/admin/contact/admin_contact_delete.xhtml @@ -38,8 +38,8 @@ diff --git a/web/admin/contact/admin_contact_edit.xhtml b/web/admin/contact/admin_contact_edit.xhtml index 11928a3e..0ac502ad 100644 --- a/web/admin/contact/admin_contact_edit.xhtml +++ b/web/admin/contact/admin_contact_edit.xhtml @@ -40,8 +40,8 @@ diff --git a/web/admin/contact/admin_contact_list.xhtml b/web/admin/contact/admin_contact_list.xhtml index dca2708a..1c2b214f 100644 --- a/web/admin/contact/admin_contact_list.xhtml +++ b/web/admin/contact/admin_contact_list.xhtml @@ -71,8 +71,8 @@ diff --git a/web/admin/country/admin_country_list.xhtml b/web/admin/country/admin_country_list.xhtml index 61a6c937..63cda07c 100644 --- a/web/admin/country/admin_country_list.xhtml +++ b/web/admin/country/admin_country_list.xhtml @@ -53,8 +53,8 @@ diff --git a/web/admin/mobile_provider/admin_mobile_provider_list.xhtml b/web/admin/mobile_provider/admin_mobile_provider_list.xhtml index 5bb205a0..9d03373c 100644 --- a/web/admin/mobile_provider/admin_mobile_provider_list.xhtml +++ b/web/admin/mobile_provider/admin_mobile_provider_list.xhtml @@ -61,8 +61,8 @@ diff --git a/web/admin/user/admin_user_edit.xhtml b/web/admin/user/admin_user_edit.xhtml index 9c0ca9a9..1578ec17 100644 --- a/web/admin/user/admin_user_edit.xhtml +++ b/web/admin/user/admin_user_edit.xhtml @@ -10,6 +10,7 @@ + @@ -29,7 +30,7 @@
    - #{msg.ADMIN_PERSONAL_DATA_MINIMUM_NOTICE} + #{msg.ADMIN_USER_PERSONAL_DATA_MINIMUM_NOTICE}
    @@ -37,8 +38,8 @@ diff --git a/web/admin/user/admin_user_list.xhtml b/web/admin/user/admin_user_list.xhtml index bbed8b88..3588c9c3 100644 --- a/web/admin/user/admin_user_list.xhtml +++ b/web/admin/user/admin_user_list.xhtml @@ -86,7 +86,7 @@
    - + @@ -104,8 +104,8 @@
    diff --git a/web/guest/user/login.xhtml b/web/guest/user/login.xhtml index 0b0efb62..7c873975 100644 --- a/web/guest/user/login.xhtml +++ b/web/guest/user/login.xhtml @@ -22,7 +22,7 @@
    -
    diff --git a/web/guest/user/lost_passwd.xhtml b/web/guest/user/lost_passwd.xhtml index c6c0848c..103e070c 100644 --- a/web/guest/user/lost_passwd.xhtml +++ b/web/guest/user/lost_passwd.xhtml @@ -32,7 +32,7 @@
    - +
    @@ -48,7 +48,7 @@
    - +
    @@ -57,8 +57,8 @@ diff --git a/web/guest/user/register_done.xhtml b/web/guest/user/register_done.xhtml index bbec38e6..ddffa7e7 100644 --- a/web/guest/user/register_done.xhtml +++ b/web/guest/user/register_done.xhtml @@ -21,7 +21,7 @@
    - +
    diff --git a/web/guest/user/show_addressbook.xhtml b/web/guest/user/show_addressbook.xhtml index 1a1193fc..6095ec33 100644 --- a/web/guest/user/show_addressbook.xhtml +++ b/web/guest/user/show_addressbook.xhtml @@ -14,7 +14,7 @@ - + #{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK} #{msg.PAGE_TITLE_INDEX_SHOW_ADDRESSBOOK} @@ -26,29 +26,27 @@ #{msg.TABLE_HEADER_SHOW_ADDRESSBOOK} - #{msg.ADDRESSBOOK_NAME} + #{msg.ADDRESSBOOK_NAME} - #{msg.ADDRESSBOOK_OWNER} + #{msg.ADDRESSBOOK_OWNER} - #{msg.ADDRESSBOOK_CREATED} + #{msg.ADDRESSBOOK_CREATED} - #{msg.ADDRESSBOOK_STATUS} + #{msg.ADDRESSBOOK_STATUS} - - - - - + + + diff --git a/web/user/login_add_addressbook.xhtml b/web/user/login_add_addressbook.xhtml index 7f1c8579..a3d17464 100644 --- a/web/user/login_add_addressbook.xhtml +++ b/web/user/login_add_addressbook.xhtml @@ -16,7 +16,7 @@ - +
    @@ -29,21 +29,21 @@
    - +
    - +
    diff --git a/web/user/login_change_email_address.xhtml b/web/user/login_change_email_address.xhtml index 702312d8..49e5038e 100644 --- a/web/user/login_change_email_address.xhtml +++ b/web/user/login_change_email_address.xhtml @@ -33,7 +33,7 @@
    - #{userController.emailAddress} + #{contactController.emailAddress}
    @@ -45,7 +45,7 @@
    - +
    @@ -57,7 +57,7 @@
    - +
    @@ -68,8 +68,8 @@ diff --git a/web/user/login_change_password.xhtml b/web/user/login_change_password.xhtml index bfd384d4..183c1b5d 100644 --- a/web/user/login_change_password.xhtml +++ b/web/user/login_change_password.xhtml @@ -16,7 +16,7 @@ - +
    #{msg.LOGIN_CHANGE_PASSWORD_TITLE} @@ -33,7 +33,7 @@
    - +
    @@ -45,7 +45,7 @@
    - +
    @@ -56,14 +56,14 @@
    - +
    diff --git a/web/user/login_change_personal_data.xhtml b/web/user/login_change_personal_data.xhtml index e4c482c9..72ad05df 100644 --- a/web/user/login_change_personal_data.xhtml +++ b/web/user/login_change_personal_data.xhtml @@ -23,15 +23,15 @@ - +