]> git.mxchange.org Git - pizzaservice-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 17:58:20 +0000 (19:58 +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 bd8e59e2981a79e7b53a1b8d6a3d857793834364..3337b2c1d403623d1e4a85a7afc32115cb2b1c70 100644 (file)
@@ -543,3 +543,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 f376525c48bd96c9e57a766f512f73e9155ff12a..ae59459f5bb94adb286070db4eee333d3c4f2479 100644 (file)
@@ -528,3 +528,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>