]> git.mxchange.org Git - jfinancials-war.git/commitdiff
added missing messages (error)
authorRoland Häder <roland@mxchange.org>
Tue, 31 May 2016 13:21:31 +0000 (15:21 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 1 Jun 2016 18:52:24 +0000 (20:52 +0200)
web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl

index 044c6850ffd9d19dbdbaa16b04c91c1d0ca6e30b..0282508c252fc37b6e2ed9eed0e345010f86b013 100644 (file)
@@ -39,6 +39,8 @@
                                <div class="clear"></div>
                        </div>
 
+                       <h:message for="firstName" errorClass="errors" fatalClass="errors" warnClass="errors" />
+
                        <div class="table_row">
                                <div class="table_left_medium">
                                        <h:outputLabel for="familyName" value="#{msg.ADMIN_PERSONAL_DATA_FAMILY_NAME}" />
@@ -51,6 +53,8 @@
                                <div class="clear"></div>
                        </div>
 
+                       <h:message for="familyName" errorClass="errors" fatalClass="errors" warnClass="errors" />
+
                        <div class="table_row">
                                <div class="table_left_medium">
                                        <h:outputLabel for="street" value="#{msg.ADMIN_PERSONAL_DATA_STREET}" />
@@ -63,6 +67,8 @@
                                <div class="clear"></div>
                        </div>
 
+                       <h:message for="street" errorClass="errors" fatalClass="errors" warnClass="errors" />
+
                        <div class="table_row">
                                <div class="table_left_medium">
                                        <h:outputLabel for="houseNumber" value="#{msg.ADMIN_PERSONAL_DATA_HOUSE_NUMBER}" />
@@ -77,6 +83,8 @@
                                <div class="clear"></div>
                        </div>
 
+                       <h:message for="houseNumber" errorClass="errors" fatalClass="errors" warnClass="errors" />
+
                        <div class="table_row">
                                <div class="table_left_medium">
                                        <h:outputLabel for="zipCode" value="#{msg.ADMIN_PERSONAL_DATA_ZIP_CODE}" />
@@ -91,6 +99,8 @@
                                <div class="clear"></div>
                        </div>
 
+                       <h:message for="zipCode" errorClass="errors" fatalClass="errors" warnClass="errors" />
+
                        <div class="table_row">
                                <div class="table_left_medium">
                                        <h:outputLabel for="city" value="#{msg.ADMIN_PERSONAL_DATA_CITY}" />
                                <div class="clear"></div>
                        </div>
 
+                       <h:message for="city" errorClass="errors" fatalClass="errors" warnClass="errors" />
+
                        <div class="table_row">
                                <div class="table_left_medium">
                                        <h:outputLabel for="country" value="#{msg.ADMIN_PERSONAL_DATA_COUNTRY_CODE}" />
                                <div class="table_right_medium">
                                        <h:selectOneMenu  styleClass="select" id="country" value="#{adminContactController.country}" converter="CountryConverter">
                                                <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
-                                               <f:selectItems value="#{countryController.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.countryCode} (#{msg[c.countryI18nkey]})" />
+                                               <f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryCode} (#{msg[country.countryI18nkey]})" />
                                        </h:selectOneMenu>
                                </div>
 
                                <div class="clear"></div>
                        </div>
 
+                       <h:message for="country" errorClass="errors" fatalClass="errors" warnClass="errors" />
+
                        <div class="table_row">
                                <div class="table_left_medium">
                                        <h:outputLabel value="#{msg.ADMIN_PERSONAL_DATA_PHONE_NUMBER}" />
                                </div>
 
                                <div class="table_right_medium">
-                                       <h:inputText styleClass="input" id="emailAddress" size="10" maxlength="255" value="#{adminContactController.emailAddress}" />
+                                       <h:inputText styleClass="input" id="emailAddress" size="20" maxlength="255" value="#{adminContactController.emailAddress}" />
                                </div>
 
                                <div class="clear"></div>