]> git.mxchange.org Git - addressbook-war.git/blobdiff - web/user/show_addressbook.xhtml
need to add language stuff in every page. :-( Maybe one day there is a better solutio...
[addressbook-war.git] / web / user / show_addressbook.xhtml
index e7137614ba71304e4ab3099c8bac31099a9c88b9..9dc7522f32a1ff7758b1b11dcbb7313cee9a67d4 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">
@@ -24,9 +26,6 @@
                        <h:panelGrid headerClass="table_header" styleClass="table" columns="2" rendered="#{addressbookController.loadAddressbook()}">
                                <f:facet name="header">#{msg.TABLE_HEADER_SHOW_ADDRESSBOOK}</f:facet>
 
-                               <h:outputLabel for="addressbookId" class="table_label">#{msg.ADDRESSBOOK_ID}</h:outputLabel>
-                               <h:outputText id="addressbookId" value="#{addressbookController.addressbookId}" />
-
                                <h:outputLabel for="addressbookName" class="table_label">#{msg.ADDRESSBOOK_NAME}</h:outputLabel>
                                <h:outputText id="addressbookName" value="#{addressbookController.addressbookName}" />