]> git.mxchange.org Git - jfinancials-war.git/commitdiff
some cleanups + added missing i18n strings
authorRoland Häder <roland@mxchange.org>
Mon, 23 May 2016 08:47:09 +0000 (10:47 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 25 May 2016 18:23:56 +0000 (20:23 +0200)
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/templates/contact/form_contact_data.tpl

index 9f2f8fad7b1151d23e48293df4b385821bd1935f..b3dbb0b23588603267095c837a6c042a36842e70 100644 (file)
@@ -553,3 +553,4 @@ LINK_ADMIN_EXPORT_CONTACT=Daten exportieren
 LINK_ADMIN_EXPORT_CONTACT_TITLE=Kontaktdaten exportieren
 PERSONAL_DATA_BIRTHDAY=Geburtsdatum (dd.mm.jjjj):
 BIRTHDAY_PATTERN=dd.MM.yyyy
+INVALID_BIRTHDAY=Ung\u00fcltiges Geburtsdatum eingegeben.
index 9ab200cf3209a5998ad0374e370cb428d7aa701e..ad6c9d2096c534e304fc308cdd591ec4274b2e31 100644 (file)
@@ -551,3 +551,4 @@ LINK_ADMIN_EXPORT_CONTACT=Export data
 LINK_ADMIN_EXPORT_CONTACT_TITLE=Export contact data
 PERSONAL_DATA_BIRTHDAY=Birthday (mm-dd-yyyy):
 BIRTHDAY_PATTERN=MM-dd-yyyy
+INVALID_BIRTHDAY=Wrong birthday entered.
index 1e826c36afc01ff69bb1a2e5ce7a83d82b2b64f0..09f0f4af11b8bc516fd463956cf74b1dcbcd0ad9 100644 (file)
@@ -35,7 +35,7 @@
 
                                <div class="table_right">
                                        <h:inputText styleClass="input" id="firstName" size="10" maxlength="255" value="#{contactController.firstName}" required="true">
-                                               <f:validator for="firstName" validatorId="NameValidator" />
+                                               <f:validator validatorId="NameValidator" />
                                        </h:inputText>
                                </div>
 
@@ -63,7 +63,7 @@
 
                                <div class="table_right">
                                        <h:inputText styleClass="input" id="street" size="20" maxlength="255" value="#{contactController.street}" required="true">
-                                               <f:validator for="street" validatorId="NameValidator" />
+                                               <f:validator validatorId="NameValidator" />
                                        </h:inputText>
                                </div>
 
@@ -91,7 +91,7 @@
 
                                <div class="table_right">
                                        <h:inputText styleClass="input" id="zipCode" size="5" maxlength="6" value="#{contactController.zipCode}" required="true" validatorMessage="#{msg.ENTERED_ZIP_CODE_INVALID}">
-                                               <f:validateLongRange for="zipCode" minimum="1" maximum="99999" />
+                                               <f:validateLongRange minimum="1" maximum="99999" />
                                        </h:inputText>
                                </div>
 
 
                                <div class="table_right">
                                        <h:inputText styleClass="input" id="city" size="10" maxlength="255" value="#{contactController.city}" required="true">
-                                               <f:validator for="city" validatorId="NameValidator" />
+                                               <f:validator validatorId="NameValidator" />
                                        </h:inputText>
                                </div>
 
                                </div>
 
                                <div class="table_right">
-                                       <h:inputText styleClass="input" id="birthday" value="#{contactController.birthday}" required="true" size="10" validator="BirthdayValidator">
-                                               <f:convertDateTime for="birthday" pattern="#{msg.BIRTHDAY_PATTERN}" />
+                                       <h:inputText styleClass="input" id="birthday" value="#{contactController.birthday}" required="true" size="10" converterMessage="#{msg.INVALID_BIRTHDAY}">
+                                               <f:convertDateTime pattern="#{msg.BIRTHDAY_PATTERN}" />
                                        </h:inputText>
                                </div>
 
                                <div class="clear"></div>
                        </div>
 
-                       <h:message for="birthday" errorClass="errors" fatalClass="errors" warnClass="errors" showDetail="false" />
+                       <h:message for="birthday" errorClass="errors" fatalClass="errors" warnClass="errors" />
 
                        <div class="table_row">
                                <div class="table_left">
                                        </h:selectOneMenu>
 
                                        <h:inputText styleClass="input" id="phoneAreaCode" size="5" maxlength="10" value="#{contactController.phoneAreaCode}">
-                                               <f:validator for="phoneAreaCode" validatorId="PhoneNumberValidator" />
+                                               <f:validator validatorId="PhoneNumberValidator" />
                                        </h:inputText>
 
                                        <h:inputText styleClass="input" id="phoneNumber" size="10" maxlength="20" value="#{contactController.phoneNumber}">
-                                               <f:validator for="phoneNumber" validatorId="PhoneNumberValidator" />
+                                               <f:validator validatorId="PhoneNumberValidator" />
                                        </h:inputText>
                                </div>