]> git.mxchange.org Git - addressbook-war.git/commitdiff
added missing required messages for contact data
authorRoland Häder <roland@mxchange.org>
Tue, 24 May 2016 10:41:12 +0000 (12:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 25 May 2016 18:39:28 +0000 (20:39 +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 4c9957d47efda69d6d0db4f255c3b48d89898486..e33bdf5b370cbf2651632d0e29c6599ded17f1ad 100644 (file)
@@ -571,3 +571,10 @@ ADMIN_EXPORT_CONTACT_CELLPHONE_NUMBER=Handynummer
 ADMIN_EXPORT_CONTACT_LANDLINE_NUMBER=Festnetznummer
 ADMIN_EXPORT_CONTACT_FAX_NUMBER=Faxnummer
 ADMIN_EXPORT_CONTACT_CREATED=Eintrag erstellt
+GUEST_CONTACT_DATA_FIRST_NAME_REQUIRED=Bitte geben Sie Ihren Vornamen ein.
+GUEST_CONTACT_DATA_FAMILY_NAME_REQUIRED=Bitte geben Sie Ihren Familiennamen ein.
+GUEST_CONTACT_DATA_STREET_REQUIRED=Bitte geben Sie die Stra\u00dfe ohne Hausnummer ein.
+GUEST_CONTACT_DATA_HOUSE_NUMBER_REQUIRED=Bitte geben Sie die Hausnummer ohne Zusatz ein.
+GUEST_CONTACT_DATA_ZIP_CODE_REQUIRED=Bitte geben Sie Ihre Postleitzahl ein.
+GUEST_CONTACT_DATA_CITY_REQUIRED=Bitte geben Sie Ihren Wohnort ein.
+GUEST_CONTACT_DATA_BIRTHDAY_REQUIRED=Bitte geben Sie Ihr Geburtsdatum ein.
index b4dff6969b1616f0e0dd886b94232df4de2e5acd..95008aa494fc999d4410386d16e3b9e6a0db59d5 100644 (file)
@@ -569,3 +569,10 @@ ADMIN_EXPORT_CONTACT_CELLPHONE_NUMBER=Cellphone number
 ADMIN_EXPORT_CONTACT_LANDLINE_NUMBER=Land-line number
 ADMIN_EXPORT_CONTACT_FAX_NUMBER=Fax number
 ADMIN_EXPORT_CONTACT_CREATED=Entry created
+GUEST_CONTACT_DATA_FIRST_NAME_REQUIRED=Please enter your first name.
+GUEST_CONTACT_DATA_FAMILY_NAME_REQUIRED=Please enter your family name.
+GUEST_CONTACT_DATA_STREET_REQUIRED=Please enter your street without house number.
+GUEST_CONTACT_DATA_HOUSE_NUMBER_REQUIRED=Please enter your house number without extension,
+GUEST_CONTACT_DATA_ZIP_CODE_REQUIRED=Please enter your ZIP code.
+GUEST_CONTACT_DATA_CITY_REQUIRED=Please enter your city.
+GUEST_CONTACT_DATA_BIRTHDAY_REQUIRED=Please enter your birthday.
index 6614b330eb8f9645c6d8498c579c8d81f581b192..a76da6d8ec1321972dd4563762c01b1736bb91ac 100644 (file)
@@ -34,7 +34,7 @@
                                </div>
 
                                <div class="table_right">
-                                       <h:inputText styleClass="input" id="firstName" size="10" maxlength="255" value="#{contactController.firstName}" required="true">
+                                       <h:inputText styleClass="input" id="firstName" size="10" maxlength="255" value="#{contactController.firstName}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_FIRST_NAME_REQUIRED}">
                                                <f:validator validatorId="NameValidator" />
                                        </h:inputText>
                                </div>
@@ -50,7 +50,7 @@
                                </div>
 
                                <div class="table_right">
-                                       <h:inputText styleClass="input" id="familyName" size="10" maxlength="255" value="#{contactController.familyName}" required="true">
+                                       <h:inputText styleClass="input" id="familyName" size="10" maxlength="255" value="#{contactController.familyName}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_FAMILY_NAME_REQUIRED}">
                                                <f:validator for="familyName" validatorId="NameValidator" />
                                        </h:inputText>
                                </div>
@@ -66,7 +66,7 @@
                                </div>
 
                                <div class="table_right">
-                                       <h:inputText styleClass="input" id="street" size="20" maxlength="255" value="#{contactController.street}" required="true">
+                                       <h:inputText styleClass="input" id="street" size="20" maxlength="255" value="#{contactController.street}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_STREET_REQUIRED}">
                                                <f:validator validatorId="NameValidator" />
                                        </h:inputText>
                                </div>
@@ -82,7 +82,7 @@
                                </div>
 
                                <div class="table_right">
-                                       <h:inputText styleClass="input" id="houseNumber" size="3" maxlength="5" value="#{contactController.houseNumber}" required="true" validatorMessage="#{msg.ENTERED_HOUSE_NUMBER_INVALID}">
+                                       <h:inputText styleClass="input" id="houseNumber" size="3" maxlength="5" value="#{contactController.houseNumber}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_HOUSE_NUMBER_REQUIRED}" validatorMessage="#{msg.ENTERED_HOUSE_NUMBER_INVALID}">
                                                <f:validateLongRange for="houseNumber" minimum="1" maximum="500" />
                                        </h:inputText>
                                </div>
@@ -98,7 +98,7 @@
                                </div>
 
                                <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}">
+                                       <h:inputText styleClass="input" id="zipCode" size="5" maxlength="6" value="#{contactController.zipCode}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_ZIP_CODE_REQUIRED}" validatorMessage="#{msg.ENTERED_ZIP_CODE_INVALID}">
                                                <f:validateLongRange minimum="1" maximum="99999" />
                                        </h:inputText>
                                </div>
                                </div>
 
                                <div class="table_right">
-                                       <h:inputText styleClass="input" id="city" size="10" maxlength="255" value="#{contactController.city}" required="true">
+                                       <h:inputText styleClass="input" id="city" size="10" maxlength="255" value="#{contactController.city}" required="true" requiredMessage="#{msg.GUEST_CONTACT_DATA_CITY_REQUIRED}">
                                                <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" converterMessage="#{msg.INVALID_BIRTHDAY}">
+                                       <h:inputText styleClass="input" id="birthday" value="#{contactController.birthday}" required="true" size="10" requiredMessage="#{msg.GUEST_CONTACT_DATA_BIRTHDAY_REQUIRED}" converterMessage="#{msg.INVALID_BIRTHDAY}">
                                                <f:convertDateTime pattern="#{msg.BIRTHDAY_PATTERN}" />
                                        </h:inputText>
                                </div>