1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:p="http://primefaces.org/ui"
11 public="-//W3C//DTD XHTML 1.0 Transitional//EN"
12 system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
16 lang="#{localizationController.locale.language}"
17 xml:lang="#{localizationController.locale.language}"
18 xmlns="http://www.w3.org/1999/xhtml"
20 <ui:insert name="metadata" />
22 <f:view locale="#{localizationController.locale}" />
25 <f:facet name="first">
26 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
27 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
28 <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
29 <meta name="apple-mobile-web-app-capable" content="yes" />
32 <f:loadBundle var="msg" basename="org.mxchange.localization.generic" />
33 <f:loadBundle var="product" basename="org.mxchange.localization.product" />
34 <f:loadBundle var="project" basename="org.mxchange.localization.project" />
35 <f:loadBundle var="local" basename="org.mxchange.localization.local" />
37 <h:outputStylesheet name="/css/custom.css" />
40 <h:outputText value="#{initParam['project_title']} - " />
42 <ui:insert name="document_title">
43 <h:outputText value="Default document title" />
49 <h:panelGroup styleClass="ui-fluid" layout="block">
50 <h:panelGroup styleClass="page-header" layout="block">
51 <p:outputPanel styleClass="ui-g">
52 <p:outputPanel styleClass="ui-g-12 ui-md-9 ui-g-nopad">
54 <h:outputText value="#{initParam['project_title']} - " />
56 <ui:insert name="content_header">
57 <h:outputText value="Default header title" />
62 <p:outputPanel styleClass="ui-g-12 ui-md-3">
63 <ui:include src="/WEB-INF/templates/widgets/locale_change_widget.tpl" />
68 <h:panelGroup styleClass="page-content-gap" layout="block">
71 <h:panelGroup styleClass="ui-g" layout="block">
72 <h:panelGroup styleClass="ui-g-12 ui-md-12" layout="block">
73 <ui:insert name="menu">
74 <h:outputText value="Default menu" />
78 <h:panelGroup styleClass="ui-g-12 ui-md-12 ui-g-nopad" layout="block">
79 <h:panelGroup styleClass="ui-g-12">
80 <ui:insert name="content">
81 <h:outputText value="Default content" />
86 <h:panelGroup styleClass="ui-g-12 page-footer" layout="block">
87 <ui:insert name="footer">
88 <h:outputText value="Default footer" />
93 <h:panelGroup styleClass="error-container" layout="block">
94 <p:growl showDetail="true" sticky="true">
98 <p:ajaxExceptionHandler
99 type="java.lang.Throwable"
100 update="exceptionDialog"
101 onexception="PF('master:exception-dialog-form:exceptionDialog').show();"
104 <h:form id="exception-dialog-form">
109 header="Exception '#{pfExceptionHandler.type}' occured!"
110 widgetVar="exceptionDialog"
113 <h:outputText value="#{msg.EXCEPTION_MESSAGE}:" />
114 <h:outputText value="#{pfExceptionHandler.message}" />
118 <h:outputText value="#{msg.EXCEPTION_STACK_TRACE}:" />
119 <h:outputText value="#{pfExceptionHandler.formattedStackTrace}" escape="false" />
123 <p:button onclick="window.location.href = document.location.href;"
124 value="#{msg.RELOAD_PAGE}"
125 rendered="#{pfExceptionHandler.type == 'javax.faces.application.ViewExpiredException'}" />