Java Reference
In-Depth Information
<?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"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<h:head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8"/>
<h:outputStylesheet name="style.css"/>
</h:head>
<h:body>
<div id="container">
<div id="content">
<ui:insert name="content">
[Template content will be inserted here]
</ui:insert>
</div>
<div id="footer">
<p>
<em>WildFly Development Ticket Booking
example.</em><br/>
</p>
</div>
</div>
</h:body>
</html>
Next, we will add the main page view, which will be embedded into your template. For
this purpose, add a JSF page named index.xhtml to the webapp folder of your
Maven project:
<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
Search WWH ::




Custom Search