]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/templates/base.tpl
own class for errors (please cherry-pick this)
[pizzaservice-war.git] / web / WEB-INF / templates / base.tpl
index cc0e5f9991b4e7a46dbe3f2574f3d6503bc22bc8..4807d7a4c7b298d1cc14d3da9d60308a1059936b 100644 (file)
@@ -3,7 +3,7 @@
        lang="#{localizationController.language}" xml:lang="#{localizationController.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:ui="http://xmlns.jcp.org/jsf/facelets"
        xmlns:f="http://xmlns.jcp.org/jsf/core">
 
        <f:view locale="#{localizationController.locale}" contentType="text/html">
                                        <div id="content">
                                                <ui:insert name="content">Default content</ui:insert>
                                        </div>
+
+                                       <div class="error_container">
+                                               <h:messages showDetail="true" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                                       </div>
                                </div>
 
                                <div class="clear"></div>