]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/templates/generic/locale_selection_box.tpl
Moved category/product pages/templates to corresponding sub folders (re-organizing)
[pizzaservice-war.git] / web / WEB-INF / templates / generic / locale_selection_box.tpl
index baea374b89333f6eb756a73061b73a814dd55496..5e6a9cf2cf73a87dbd5dc4c5308d4d58629ed6b7 100644 (file)
@@ -6,9 +6,9 @@
        xmlns:ui="http://java.sun.com/jsf/facelets">
 
        <h:form id="locale_selection">
-               <h:selectOneMenu id="language_selection" value="#{localization.language}" onchange="submit()">
+               <h:selectOneMenu id="language_selection" value="#{localizationController.language}" onchange="submit()">
                        <f:selectItem itemLabel="#{msg.SELECT_LANGUAGE}" noSelectionOption="true" />
-                       <f:selectItems value="#{localization.selectableLocalizations}" var="l" itemValue="#{l}" itemLabel="#{msg[l.toString().toUpperCase()]}" />
+                       <f:selectItems value="#{localizationController.selectableLocalizations}" var="locale" itemValue="#{locale}" itemLabel="#{msg[locale.toString().toUpperCase()]}" />
                </h:selectOneMenu>
        </h:form>
 </ui:composition>