-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpage.xhtml
52 lines (47 loc) · 1.22 KB
/
page.xhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:ez="http://java.sun.com/jsf/composite/ezcomp">
<h:head>
<f:facet name="first">
<title>
#{pageTitle}
</title>
</f:facet>
<style>
html {
position: relative;
min-height: 100%;
}
/*Normalize html and body elements,this style is just good to have*/
html, body {
margin: 0;
padding: 0;
}
.pageContentWrapper {
margin-bottom: 25px; /* Height of footer*/
}
footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 25px;
}
</style>
</h:head>
<h:body>
<div class="pageContentWrapper">
<div id="top" class="top">
<ez:header/>
<ez:menu/>
</div>
<div id="content" class="main">
<ui:insert name="content">Main Content</ui:insert>
</div>
<div id="bottom" class="bottom">
<ez:footer/>
</div>
</div>
</h:body>
</html>