]> git.mxchange.org Git - jjobs-war.git/blob - web/index.xhtml
need to add language stuff in every page. :-( Maybe one day there is a better solutio...
[jjobs-war.git] / web / index.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html
4         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5         xmlns="http://www.w3.org/1999/xhtml"
6         xmlns:ui="http://java.sun.com/jsf/facelets"
7         xmlns:h="http://xmlns.jcp.org/jsf/html"
8         xmlns:f="http://xmlns.jcp.org/jsf/core"
9         >
10
11         <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
12                 <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_WELCOME}</ui:define>
13
14                 <ui:define name="content_header">
15                         #{msg.CONTENT_TITLE_INDEX_WELCOME}
16                 </ui:define>
17
18                 <ui:define name="content">
19                         <div class="para">
20                                 <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA1}" />
21                         </div>
22
23                         <div class="para">
24                                 <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA2}" />
25                         </div>
26
27                         <div class="para">
28                                 <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA3}" />
29                         </div>
30                 </ui:define>
31         </ui:composition>
32 </html>