Java Reference
In-Depth Information
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="#{view.viewId =='/views/setup.xhtml' ?
'active':''}">
<h:link outcome="/views/setup" value="Theatre setup" /></li>
<li class="#{view.viewId =='/views/book.xhtml' ?
'active':''}">
<h:link outcome="/views/book" value="Book tickets" /></li>
</ul>
</div>
</div>
</div>
<div class="container">
<ui:insert name="content">
[Template content will be inserted here]
</ui:insert>
<hr />
<footer>
<p class="text-muted">&copy; Company 2014</p>
</footer>
</div>
<h:outputScript name="/webjars/jquery/1.11.0/jquery.js"
/>
<h:outputScript name="/webjars/bootstrap/3.2.0/js/
bootstrap.js " />
</h:body>
</html>
Next, we will move to the content in setup.xhtml :
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
template="/WEB-INF/templates/default.xhtml"
xmlns:p="http://xmlns.jcp.org/jsf/
passthrough">
Search WWH ::




Custom Search