]> git.mxchange.org Git - addressbook-war.git/blobdiff - web/WEB-INF/templates/generic/profile_mode_selection_box.tpl
class was wrong, needs to be styleClass
[addressbook-war.git] / web / WEB-INF / templates / generic / profile_mode_selection_box.tpl
index 9779bdb530ccf51e62b0fab3e47cf367782992e3..307999163ea9eb845609dea9c4bac6b33c8e1fa2 100644 (file)
@@ -3,10 +3,9 @@
        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">
 
-       <h:selectOneMenu class="select" id="profileMode" value="#{userController.userProfileMode}">
-               <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
-               <f:selectItems value="#{profileMode.allProfileModes}" var="m" itemValue="#{m}" itemLabel="#{msg[m.messageKey]}" />
+       <h:selectOneMenu styleClass="select" id="profileMode" value="#{userController.userProfileMode}">
+               <f:selectItems value="#{profileModeController.allProfileModes}" var="m" itemValue="#{m}" itemLabel="#{msg[m.messageKey]}" />
        </h:selectOneMenu>
 </ui:composition>