]> git.mxchange.org Git - addressbook-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Wed, 5 Jul 2017 22:05:13 +0000 (00:05 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 5 Jul 2017 22:11:10 +0000 (00:11 +0200)
- rendered-attribute allows expression code, so optionally required password
  fields can be done on JSF side and not just on bean side.

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl

index a0e64af57961773a30d822d37cfdf62464710d53..0a819444db5380862b8ca63d5781b487c13cbdb0 100644 (file)
@@ -832,32 +832,12 @@ ERROR_USER_PASSWORD_TO_WEAK=Das eingegebene Passwort ist zu schwach. Bitte geben
 #@TODO Please fix German umlauts!
 GUEST_REGISTRATION_USER_NAME_NOT_ENTERED=Bitte geben Sie einen Benutzernamen ein. Dieser wird auf Verfuegbarkeit hin getestet.
 #@TODO Please fix German umlauts!
-PAGE_TITLE_LOGIN_FINANCIAL_OVERVIEW=Finanzen-Uebersicht
-#@TODO Please fix German umlauts!
-SUB_TITLE_LOGIN_FINANCIAL_OVERVIEW=Uebersicht Ihrer Finanzen:
-#@TODO Please fix German umlauts!
-PAGE_TITLE_LOGIN_FINANCIAL_ADD_RECEIPT=Rechnung hinzufuegen/erfassen
-SUB_TITLE_LOGIN_FINANCIAL_ADD_RECEIPT=Weitere Rechnung erfassen:
-#@TODO Please fix German umlauts!
-PAGE_TITLE_LOGIN_FINANCIAL_ADD_INCOME=Neue Einkommensart hinzufuegen
-#@TODO Please fix German umlauts!
-SUB_TITLE_LOGIN_FINANCIAL_ADD_INCOME=Weitere Einkommensart hinzufuegen:
-LOGIN_FINANCIAL_ADD_INCOME_FORM_TITLE=Daten einer Einkommensart erfassen:
-LOGIN_FINANCIAL_INCOME_INTERVAL=Einkommensinterval:
-#@TODO Please fix German umlauts!
-FIELD_FINANCIAL_INCOME_REQUIRED=Feld "Einkommensinterval" muss ausgewaehlt werden.
-#@TODO Please fix German umlauts!
-BUTTON_LOGIN_FINCIAL_ADD_INCOME=Einkommensart hinzufuegen
-LOGIN_FINANCIAL_INCOME_SINGLE_VALUE=Einkommensbetrag:
-#@TODO Please fix German umlauts!
-FIELD_FINANCIAL_INCOME_SINGLE_VALUE_REQUIRED=Feld "Einkommensbetrag" bitte ausfuellen.
-LOGIN_FINANCIAL_INCOME_TITLE=Bezeichnung der Einkommensart:
-#@TODO Please fix German umlauts!
-FIELD_FINANCIAL_INCOME_TITLE_REQUIRED=Feld "Title" muss ausgefuellt werden.
-#@TODO Please fix German umlauts!
 ERROR_USER_PASSWORD_EMPTY=Sie muessen ein Passwort eingeben.
 #@TODO Please fix German umlauts!
 ERROR_USER_PASSWORD_REPEAT_EMPTY=Sie muessen das eingegebene Passwort wiederholen.
 GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_ALLOWED=Lassen Sie beide Passwortfelder leer, wird Ihnen ein Passwort per Zufall generiert.
 #@TODO Please fix German umlauts!
 GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED=Sie muessen selbst ein Passwort vergeben. Bitte geben Sie dies zur Bestaetigung zweimal ein.
+GUEST_REGISTRATION_PASSWORD_NOT_ENTERED=Bitte geben Sie ein Passwort ein. Dies muss den Sicherheitsregeln entsprechen.
+#@TODO Please fix German umlauts!
+GUEST_REGISTRATION_PASSWORD_REPEAT_NOT_ENTERED=Bitte wiederholen Sie das eingegebene Passwort. Dies wird zur Bestaetigung benoetigt.
index d42c7e11ec1c7bb693e549d0333111304fc0cfcc..12c91dd8510e148e599dc08a2dc3021fdd796eb5 100644 (file)
@@ -827,21 +827,9 @@ BUTTON_USER_CHANGE_PASSWORD=Change password
 ADMIN_LINK_SHOW_CONTACT_DATA=Show contact data
 ERROR_USER_PASSWORD_TO_WEAK=Your entered password is to weak. Please enter letters, numbers and special characters to create a secure password.
 GUEST_REGISTRATION_USER_NAME_NOT_ENTERED=Please enter a user name. The entered name is being checked for availability.
-PAGE_TITLE_LOGIN_FINANCIAL_OVERVIEW=Financials Overview
-SUB_TITLE_LOGIN_FINANCIAL_OVERVIEW=Overview of your financials:
-PAGE_TITLE_LOGIN_FINANCIAL_ADD_RECEIPT=Add receipt
-SUB_TITLE_LOGIN_FINANCIAL_ADD_RECEIPT=Add new receipt:
-PAGE_TITLE_LOGIN_FINANCIAL_ADD_INCOME=Add new income type
-SUB_TITLE_LOGIN_FINANCIAL_ADD_INCOME=Add new income type:
-LOGIN_FINANCIAL_ADD_INCOME_FORM_TITLE=Enter all data of one income type:
-LOGIN_FINANCIAL_INCOME_INTERVAL=Income interval:
-FIELD_FINANCIAL_INCOME_REQUIRED=Field "Income interval" must be selected.
-BUTTON_LOGIN_FINCIAL_ADD_INCOME=Add income type
-LOGIN_FINANCIAL_INCOME_SINGLE_VALUE=Income value:
-FIELD_FINANCIAL_INCOME_SINGLE_VALUE_REQUIRED=Field "Income value" must be filled out.
-LOGIN_FINANCIAL_INCOME_TITLE=Title of income type:
-FIELD_FINANCIAL_INCOME_TITLE_REQUIRED=Field "Title" must be filled out.
 ERROR_USER_PASSWORD_EMPTY=You have to enter a password.
 ERROR_USER_PASSWORD_REPEAT_EMPTY=You have to repeat the entered password.
 GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_ALLOWED=If you left both password fields empty, a random password will generated for you.
 GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED=You have to enter an own password. Please enter it twice for confirmation.
+GUEST_REGISTRATION_PASSWORD_NOT_ENTERED=Please enter a password. This must match with security rules.
+GUEST_REGISTRATION_PASSWORD_REPEAT_NOT_ENTERED=Please repeat the entered password. This done to confirm the password.
index df920e5064711a407c24bf17825927c82b0acaaf..97af2dbae5cbca485903cd8adef778ff7b946322 100644 (file)
@@ -46,7 +46,7 @@
                                                        </div>
 
                                                        <div class="table_right_medium">
-                                                               <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userController.userPassword}" />
+                                                               <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userController.userPassword}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_NOT_ENTERED}" />
                                                        </div>
 
                                                        <div class="clear"></div>
@@ -62,7 +62,7 @@
                                                        </div>
 
                                                        <div class="table_right_medium">
-                                                               <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userController.userPasswordRepeat}" />
+                                                               <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userController.userPasswordRepeat}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_REPEAT_NOT_ENTERED}" />
                                                        </div>
 
                                                        <div class="clear"></div>