]> git.mxchange.org Git - jjobs-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>
Thu, 26 May 2016 15:46:35 +0000 (17:46 +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 66df6feb28cb0739c170db8cad398c85191b31d8..643b5720b77d599c21254e2548fc9eb9e8fd2fef 100644 (file)
@@ -537,3 +537,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 fc92bbed94ad2125b9a0131a79fdddf347c199e1..f052f7371c591e5387703ea1c7ff1d8795c7bedb 100644 (file)
@@ -538,3 +538,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>