Last active
December 12, 2015 01:48
-
-
Save nazartm/4693774 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<ui:composition template="../templates/default.xhtml" | |
xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:ui="http://java.sun.com/jsf/facelets" | |
xmlns:h="http://java.sun.com/jsf/html" | |
xmlns:f="http://java.sun.com/jsf/core"> | |
<ui:define name="title">Template client page title</ui:define> | |
<ui:define name="content"> | |
<h1>Sample page</h1> | |
<h:messages/> | |
</ui:define> | |
</ui:composition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" | |
xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:ui="http://java.sun.com/jsf/facelets" | |
xmlns:h="http://java.sun.com/jsf/html" | |
xmlns:f="http://java.sun.com/jsf/core"> | |
<h:head> | |
<meta charset="utf-8"/> | |
<title><ui:insert name="title">Page title</ui:insert></title> | |
<h:outputStylesheet library="css" name="default.css"/> | |
</h:head> | |
<h:body> | |
<header> | |
<h1><h:graphicImage library="img" name="logo.png" id="logo"/>#{msg['site.title']}</h1> | |
</header> | |
<div id="content"> | |
<ui:insert name="content">Content</ui:insert> | |
</div> | |
<footer> | |
<p>Footer text</p> | |
</footer> | |
</h:body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment