]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/templates/generic/locale_selection_box.tpl
Some rewrites:
[pizzaservice-war.git] / web / WEB-INF / templates / generic / locale_selection_box.tpl
index 2d81840d305ad0bd36f3501a7db05f78e74130aa..142e73b4ae6bb8b4b448f26b0dacf1c5a66a3874 100644 (file)
@@ -3,12 +3,12 @@
        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:form id="locale_selection">
                <h:selectOneMenu id="language_selection" value="#{localizationController.language}" onchange="submit()">
                        <f:selectItem itemLabel="#{msg.SELECT_LANGUAGE}" noSelectionOption="true" />
-                       <f:selectItems value="#{localizationController.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>