1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:ui="http://java.sun.com/jsf/facelets">
8 <ui:fragment rendered="#{not empty targetController}">
9 <h:selectOneMenu class="select" id="gender" value="#{targetController.gender}">
10 <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
11 <f:selectItems value="#{genderController.selectableGenders}" var="g" itemValue="#{g}" itemLabel="#{msg[g.messageKey]}" />
15 <ui:fragment rendered="#{empty targetController}">
16 <h:outputText class="errors" value="#{msg.ERROR_TARGET_CONTROLLER_PARAMETER_NOT_SET}" />