]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/login/login_data_saved.xhtml
need to add language stuff in every page. :-( Maybe one day there is a better solutio...
[jjobs-war.git] / web / login / login_data_saved.xhtml
index d4fa96b4338ede7ca863d3a33fc7147cfc88a4b3..c85212775595371c843efec8db35ae0b1571dd8e 100644 (file)
@@ -1,6 +1,8 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
+<html
+       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
+       xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://xmlns.jcp.org/jsf/html"
          xmlns:f="http://xmlns.jcp.org/jsf/core"
@@ -21,7 +23,7 @@
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
-                               <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+                               <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>