]> git.mxchange.org Git - addressbook-war.git/blobdiff - web/index.xhtml
Continued:
[addressbook-war.git] / web / index.xhtml
index c1544ab1803993e9292e78356df0ca265f32bcff..9cd0fa174683e6a6eae59f4032a0cba82375b0e5 100644 (file)
@@ -1,12 +1,20 @@
-<?xml version='1.0' encoding='UTF-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"
-      xmlns:h="http://xmlns.jcp.org/jsf/html">
-    <h:head>
-        <title>Facelet Title</title>
-    </h:head>
-    <h:body>
-               Hello from Facelets
-    </h:body>
-</html>
+         xmlns:ui="http://java.sun.com/jsf/facelets"
+         xmlns:h="http://xmlns.jcp.org/jsf/html"
+         xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
+         xmlns:f="http://xmlns.jcp.org/jsf/core"
+         >
+
+       <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
+               <ui:define name="title">#{msg.PAGE_TITLE_INDEX_WELCOME}</ui:define>
 
+               <ui:define name="content_header">
+                       #{msg.CONTENT_TITLE_INDEX_WELCOME}
+               </ui:define>
+
+               <ui:define name="content">
+               </ui:define>
+       </ui:composition>
+</html>