]> 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 112cd241c23dbbffa3cb4526862873f4b67f63f3..307999163ea9eb845609dea9c4bac6b33c8e1fa2 100644 (file)
@@ -3,9 +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: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>