]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/WEB-INF/templates/generic/profile_mode_selection_box.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / templates / generic / profile_mode_selection_box.tpl
index 5b59fb43b54f93740d2dfcc76325a8fae976886d..680c63eb9e9651be60f57aee9639c92e42f29551 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="mode" itemValue="#{mode}" itemLabel="#{msg[mode.messageKey]}" />
        </h:selectOneMenu>
 </ui:composition>