<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- 
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
 -->
<html 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">

<!-- internationalization -->
<f:view locale="#{sampleUser.locale}" />
<ui:param name="webRoot" value=".." />

<f:metadata>
	<ui:insert name="metadata" />
</f:metadata>

<h:head>

	<!-- dynamic page title -->
	<title>#{msg.application_title} - #{pageTitle}</title>

	<!-- meta information -->
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<meta http-equiv="Content-Language" content="en" />
	<meta http-equiv="imagetoolbar" content="no" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />

	<!-- global stylesheets -->
	<link href="#{webRoot}/css/layout.css" rel="stylesheet" type="text/css" />

	<!-- custom page stylesheets -->
	<ui:insert name="pageCss" />

	<!-- javascript -->

	<!-- custom page script -->
	<ui:insert name="pageScript" />
</h:head>
<h:body>
	<f:view>

		<!-- header -->
		<ui:include src="header.xhtml" />

		<!-- (error) messages -->
		<h:panelGroup id="messages" layout="block">
			<h:messages />
		</h:panelGroup>

		<!-- content -->
		<h:panelGroup id="content" layout="block">
			<ui:insert name="content" />
		</h:panelGroup>

	</f:view>
</h:body>
</html>
