]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/templates/generic/gender_selection_box.tpl
Continued with refacturing:
[pizzaservice-war.git] / web / WEB-INF / templates / generic / gender_selection_box.tpl
index 0d24d20fc57527baf5bcbd7ebfc4adb786b8b584..3d9ef32fe3cae559f96f6610fc80a23fae790809 100644 (file)
@@ -3,7 +3,7 @@
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
-       xmlns:ui="http://java.sun.com/jsf/facelets">
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
        <ui:fragment rendered="#{not empty targetController}">
                <h:selectOneMenu class="select" id="gender" value="#{targetController.gender}">
@@ -11,7 +11,5 @@
                </h:selectOneMenu>
        </ui:fragment>
 
-       <ui:fragment rendered="#{empty targetController}">
-               <h:outputText class="errors" value="#{msg.ERROR_TARGET_CONTROLLER_PARAMETER_NOT_SET}" />
-       </ui:fragment>
+       <h:outputText styleClass="errors" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" rendered="#{empty targetController}" />
 </ui:composition>