]> git.mxchange.org Git - jjobs-war.git/commitdiff
It must be a writable property and the class Locale doesn't have it (language)
authorRoland Haeder <roland@mxchange.org>
Mon, 4 Apr 2016 17:08:26 +0000 (19:08 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 4 Apr 2016 17:08:26 +0000 (19:08 +0200)
web/WEB-INF/templates/base.tpl
web/WEB-INF/templates/generic/locale_selection_box.tpl

index 7f318f2c435474d343f102f83c7203cf1be4ea4a..9bcf44e7d6865988da6964dc9bda48172890b78f 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <html
-       lang="#{localization.locale.language}" xml:lang="#{localization.locale.language}"
+       lang="#{localization.language}" xml:lang="#{localization.language}"
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets"
index 0dc84df9a9adc768c6d163468909437b31ff730b..16860b2d3cb83c7c4356275329a59ac9bb9c1fac 100644 (file)
@@ -6,7 +6,7 @@
        xmlns:ui="http://java.sun.com/jsf/facelets">
 
        <h:form id="locale_selection">
-               <h:selectOneMenu value="#{localization.locale.language}" onchange="submit()">
+               <h:selectOneMenu value="#{localization.language}" onchange="submit()">
                        <f:selectItem itemValue="de" itemLabel="Deutsch" />
                        <f:selectItem itemValue="en" itemLabel="English" />
                </h:selectOneMenu>