<?xml version="1.0" encoding="UTF-8" ?>
-<html
- lang="#{localization.locale.language}" xml:lang="#{localization.locale.language}"
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://xmlns.jcp.org/jsf/core">
-
- <h:head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-
- <f:loadBundle var="msg" basename="org.mxchange.localization.bundle" />
- <f:view locale="#{localization.locale}" />
-
- <h:outputStylesheet name="/css/default.css" />
- <h:outputStylesheet name="/css/cssLayout.css" />
-
- <title>JJobs - <ui:insert name="title">Default title</ui:insert></title>
- </h:head>
-
- <h:body>
- <div id="top">
- <div id="header">
- <div id="title">
- <h1>JJobs - <ui:insert name="title">Default title</ui:insert></h1>
- </div>
- </div>
- </div>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <div id="menu_content">
- <div id="left">
- <ui:insert name="menu">Default menu</ui:insert>
- </div>
+ <h:doctype rootElement="html" public="-//W3C//DTD XHTML 1.0 Transitional//EN" system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+ <html lang="#{localizationController.locale.language}" xml:lang="#{localizationController.locale.language}" xmlns="http://www.w3.org/1999/xhtml">
+ <f:view locale="#{localizationController.locale}" contentType="text/html">
+ <h:head>
+ <ui:insert name="metadata" />
- <div id="content_outer" class="left_content">
- <div id="content_header">
- <ui:insert name="content_header">Default content header</ui:insert>
- </div>
+ <meta http-equiv="Content-Type" content="text/htmlcharset=UTF-8" />
+
+ <f:loadBundle var="msg" basename="org.mxchange.localization.bundle" />
+
+ <h:outputStylesheet name="/css/default.css" />
+ <h:outputStylesheet name="/css/cssLayout.css" />
+
+ <title>
+ <h:outputText value="JJobs" />
+ <h:outputText value=" - " />
+ <ui:insert name="title">
+ <h:outputText value="Default title" />
+ </ui:insert>
+ </title>
+ </h:head>
- <div id="content">
- <ui:insert name="content">Default content</ui:insert>
+ <h:body>
+ <div id="top">
+ <div id="page_header">
+ <div id="page_title">
+ <h1>
+ <h:outputText value="JJobs" />
+ <h:outputText value=" - " />
+ <ui:insert name="title">
+ <h:outputText value="Default title" />
+ </ui:insert>
+ </h1>
+ </div>
+ </div>
</div>
- </div>
- <div class="clear"></div>
- </div>
+ <h:panelGroup id="menu_content" layout="block">
+ <div id="left">
+ <ui:insert name="menu">
+ <h:outputText value="Default menu" />
+ </ui:insert>
+
+ <ui:include src="/WEB-INF/templates/widgets/locale_change_widget.tpl" />
+ </div>
+
+ <h:panelGroup id="content_outer" class="left_content" layout="block">
+ <div id="content_header">
+ <ui:insert name="content_header">
+ <h:outputText value="Default content header" />
+ </ui:insert>
+ </div>
+
+ <div id="content">
+ <ui:insert name="content">
+ <h:outputText value="Default content" />
+ </ui:insert>
+ </div>
+ </h:panelGroup>
+
+ <div class="clear"></div>
+ </h:panelGroup>
+
+ <h:panelGroup id="page_footer" layout="block">
+ <ui:insert name="footer">
+ <h:outputText value="Default footer" />
+ </ui:insert>
+ </h:panelGroup>
- <div id="footer">
- <ui:insert name="footer">Default footer</ui:insert>
- </div>
- </h:body>
-</html>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:messages showDetail="true" errorClass="errors" fatalClass="errors" warnClass="errors" />
+ </h:panelGroup>
+ </h:body>
+ </f:view>
+ </html>
+</ui:composition>