]> 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 5b59fb43b54f93740d2dfcc76325a8fae976886d..307999163ea9eb845609dea9c4bac6b33c8e1fa2 100644 (file)
@@ -5,7 +5,7 @@
        xmlns:h="http://java.sun.com/jsf/html"
        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>