]> git.mxchange.org Git - addressbook-war.git/blob - web/WEB-INF/templates/generic/locale_selection_box.tpl
0dc84df9a9adc768c6d163468909437b31ff730b
[addressbook-war.git] / web / WEB-INF / templates / generic / locale_selection_box.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
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">
7
8         <h:form id="locale_selection">
9                 <h:selectOneMenu value="#{localization.locale.language}" onchange="submit()">
10                         <f:selectItem itemValue="de" itemLabel="Deutsch" />
11                         <f:selectItem itemValue="en" itemLabel="English" />
12                 </h:selectOneMenu>
13         </h:form>
14 </ui:composition>