Java Reference
In-Depth Information
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
<h:outputStylesheet name="./css/default.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title>Facelets Template</title>
<div id="top" class="top">
<ui:insert name="top">Top</ui:insert>
<div id="left">
<ui:insert name="left">Left</ui:insert>
<div id="content" class="left_content">
<ui:insert name="content">Content</ui:insert>
As we can see, the template doesn't look much different from a regular facelets file.
We can see that the template uses the following namespace: xmlns:ui="http://" . This namespace allows us to use the <ui:insert>
tag. The contents of this tag will be replaced by the content in a corresponding
<ui:define> tag in template clients.
Search WWH ::

Custom Search