]> git.mxchange.org Git - addressbook-war.git/blob - web/WEB-INF/templates/base.tpl
It must be a writable property and the class Locale doesn't have it (language)
[addressbook-war.git] / web / WEB-INF / templates / base.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <html
3         lang="#{localization.language}" xml:lang="#{localization.language}"
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:h="http://java.sun.com/jsf/html"
6         xmlns:ui="http://java.sun.com/jsf/facelets"
7         xmlns:f="http://xmlns.jcp.org/jsf/core">
8
9         <h:head>
10                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
11
12                 <f:loadBundle var="msg" basename="org.mxchange.localization.bundle" />
13                 <f:view locale="#{localization.locale}" />
14
15                 <h:outputStylesheet name="/css/default.css" />
16                 <h:outputStylesheet name="/css/cssLayout.css" />
17
18                 <title>Addressbook - <ui:insert name="title">Default title</ui:insert></title>
19         </h:head>
20
21         <h:body>
22                 <div id="top">
23                         <div id="header">
24                                 <div id="title">
25                                         <h1>Addressbook - <ui:insert name="title">Default title</ui:insert></h1>
26                                 </div>
27                         </div>
28                 </div>
29
30                 <div id="menu_content">
31                         <div id="left">
32                                 <ui:insert name="menu">Default menu</ui:insert>
33                                 <ui:include src="/WEB-INF/templates/generic/locale_selection_box.tpl" />
34                         </div>
35
36                         <div id="content_outer" class="left_content">
37                                 <div id="content_header">
38                                         <ui:insert name="content_header">Default content header</ui:insert>
39                                 </div>
40
41                                 <div id="content">
42                                         <ui:insert name="content">Default content</ui:insert>
43                                 </div>
44                         </div>
45
46                         <div class="clear"></div>
47                 </div>
48
49                 <div id="footer">
50                         <ui:insert name="footer">Default footer</ui:insert>
51                 </div>
52         </h:body>
53 </html>