1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:ui="http://java.sun.com/jsf/facelets">
8 <h:form id="locale_selection">
9 <h:selectOneMenu id="language_selection" value="#{localization.language}" onchange="submit()">
10 <f:selectItem itemLabel="#{msg.SELECT_LANGUAGE}" noSelectionOption="true" />
11 <f:selectItems value="#{localization.selectableLocalizations}" var="l" itemValue="#{l}" itemLabel="#{msg[l.toString().toUpperCase()]}" />