Java Reference
In-Depth Information
<br/><br/>
<h:outputLink value="/IntroToJavaEE7/faces/chapter05/index.xhtml">
Chapter 5</h:outputLink>
<br/><br/>
<h:outputLink value="/IntroToJavaEE7/faces/chapter06/index.xhtml">
Chapter 6</h:outputLink>
<br/><br/>
<h:outputLink value="/IntroToJavaEE7/faces/chapter07/index.xhtml">
Chapter 7</h:outputLink>
<br/><br/>
<h:outputLink value="/IntroToJavaEE7/faces/chapter08/index.xhtml">
Chapter 8</h:outputLink>
<br/><br/>
<h:outputLink value="/IntroToJavaEE7/faces/chapter09/index.xhtml">
Chapter 9</h:outputLink>
<br/><br/>
<h:outputLink value="/IntroToJavaEE7/faces/chapter10/index.xhtml">
Chapter 10</h:outputLink>
<br/><br/>
<h:outputLink value="/IntroToJavaEE7/faces/chapter11/index.xhtml">
Chapter 11</h:outputLink>
</h:form>
</div>
<div id="content" class="left_content">
<ui:insert name="content">Content</ui:insert>
</div>
</div>
<div id="bottom">
Written by Josh Juneau, Apress Author
</div>
</h:body>
</html>
The following view can reside within any other folder within the application's web directory, and it can still
simply specify “
/template.xhtml
” in order to make use of the “mocha” template.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="
http://www.w3.org/1999/xhtml
"
xmlns:f="
http://xmlns.jcp.org/jsf/core
"
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"/>
<title>Mocha Style</title>
</h:head>