]> git.mxchange.org Git - jjobs-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 11:24:33 +0000 (13:24 +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 23b6ff73d4bea30ec51838b661de116110969fd0..77695f023d9d0ef4e7921078816940c3f7f49f17 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 5292c5b88e8ba4aa2187e61217e038fb8f8f2c61..849dea0c71724ce7de9ac3b48113029bee1988f4 100644 (file)
@@ -13,7 +13,7 @@
        </ui:fragment>
 
        <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>