xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<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.language}" xml:lang="#{localizationController.language}" xmlns="http://www.w3.org/1999/xhtml">
- <ui:insert name="metadata" />
+ <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" />
- <h:head>
- <meta http-equiv="Content-Type" content="text/htmlcharset=UTF-8" />
+ <meta http-equiv="Content-Type" content="text/htmlcharset=UTF-8" />
- <f:loadBundle var="msg" basename="org.mxchange.localization.bundle" />
+ <f:loadBundle var="msg" basename="org.mxchange.localization.bundle" />
- <h:outputStylesheet name="/css/default.css" />
- <h:outputStylesheet name="/css/cssLayout.css" />
+ <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>
+ <title>
+ <h:outputText value="JJobs" />
+ <h:outputText value=" - " />
+ <ui:insert name="title">
+ <h:outputText value="Default title" />
+ </ui:insert>
+ </title>
+ </h:head>
- <h:body>
- <f:view locale="#{localizationController.locale}" contentType="text/html">
+ <h:body>
<div id="top">
<div id="page_header">
<div id="page_title">
<h:panelGroup id="menu_content" layout="block">
<div id="left">
- <ui:insert name="menu">Default menu</ui:insert>
- <ui:include src="/WEB-INF/templates/generic/locale_selection_box.tpl" />
+ <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">Default content header</ui:insert>
+ <ui:insert name="content_header">
+ <h:outputText value="Default content header" />
+ </ui:insert>
</div>
<div id="content">
- <ui:insert name="content">Default content</ui:insert>
+ <ui:insert name="content">
+ <h:outputText value="Default content" />
+ </ui:insert>
</div>
</h:panelGroup>
</h:panelGroup>
<h:panelGroup id="page_footer" layout="block">
- <ui:insert name="footer">Default footer</ui:insert>
+ <ui:insert name="footer">
+ <h:outputText value="Default footer" />
+ </ui:insert>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<h:messages showDetail="true" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
- </f:view>
- </h:body>
+ </h:body>
+ </f:view>
</html>
</ui:composition>