]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Fixes:
authorRoland Haeder <roland@mxchange.org>
Tue, 11 Apr 2017 11:24:33 +0000 (13:24 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 11 Apr 2017 12:51:06 +0000 (14:51 +0200)
- need to use concat() and not + because it is only for numeric values

web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl
web/WEB-INF/templates/generic/gender_selection_box.tpl

index a0d729a0ae255e88ec6eec78fe78d1bea548bdda..09f6033e0f798253171ee2bddb6c7f0cf819dc32 100644 (file)
                                </div>
 
                                <div class="table_right_medium">
-                                       <h:inputText styleClass="input" id="emailAddress" size="20" maxlength="255" value="#{adminContactController.emailAddress}" />
+                                       <h:inputText styleClass="input" id="emailAddress" size="10" maxlength="255" value="#{adminContactController.emailAddress}" />
                                </div>
 
                                <div class="clear"></div>
index dfa9efcb4f43000e18e5e5e0482033368c01b13c..7c91da71d2fe4edfd2499b1e957eba2b5a95f352 100644 (file)
@@ -6,7 +6,7 @@
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
        <ui:fragment rendered="#{not empty targetController}">
-               <h:selectOneMenu styleClass="select" id="gender" value="#{targetController.gender}" required="#{featureController.isFeatureEnabled(targetController.controllerType + '_gender')}" requiredMessage="#{msg.FIELD_GENDER_REQUIRED}">
+               <h:selectOneMenu styleClass="select" id="gender" value="#{targetController.gender}" required="#{featureController.isFeatureEnabled(targetController.controllerType.concat('_gender'))}" requiredMessage="#{msg.FIELD_GENDER_REQUIRED}">
                        <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" noSelectionOption="true" />
                        <f:selectItems value="#{genderController.selectableGenders}" var="gender" itemValue="#{gender}" itemLabel="#{msg[gender.messageKey]}" />
                </h:selectOneMenu>