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
|
<!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:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<title>Facelets example</title>
</head>
<body >
<div style="border-bottom: grey 2px solid; border-left: grey 2px solid; border-right: grey 2px solid; border-top: grey 2px solid; height: 100%; margin: 4px auto; text-align: center; width: 100%;">
<ui:insert name="header">
<ui:include src="header.xhtml" />
</ui:insert></div>
<table width="100%" >
<tr>
<td width="20%">
<div style="height: 250px; width: 100%; background-color: #e0e0e0; text-align: center;">
<br></br>
<ui:insert name="sidemenu">
<h:form>
<h:commandLink value="Home"></h:commandLink>
<br />
<br />
<h:commandLink value="News"></h:commandLink>
<br />
<br />
<h:commandLink value="Articles"></h:commandLink>
<br />
<br />
<h:commandLink value="About Us"></h:commandLink>
<br />
<br />
</h:form>
</ui:insert></div>
</td>
<td width="85%">
<ui:insert name="content">Content displayed from Template </ui:insert>
</td>
</tr>
</table>
<div style="border-bottom: grey 2px solid; border-left: grey 2px solid; border-right: grey 2px solid; border-top: grey 2px solid; height: 100%; margin: 4px auto; text-align: center; width: 100%;">
<ui:insert name="footer">
<ui:include src="footer.xhtml" />
</ui:insert></div>
</body>
</html> |
Partager