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://xmlns.jcp.org/jsf/facelets">
8 <h:form id="form_locale_selection">
9 <h:selectOneMenu id="language_selection" value="#{localizationController.language}" onchange="submit()">
10 <f:selectItem itemLabel="#{msg.SELECT_LANGUAGE}" noSelectionOption="true" />
11 <f:selectItems value="#{localizationController.selectableLocalizations}" var="locale" itemValue="#{locale}" itemLabel="#{msg[locale.toString().toUpperCase()]}" />