]> git.mxchange.org Git - addressbook-war.git/blobdiff - web/WEB-INF/templates/base.tpl
Continued a bit: (please cherry-pick)
[addressbook-war.git] / web / WEB-INF / templates / base.tpl
index 4f9d79738d6131b5062f0adf1a546d10e5d6504d..a8c5fc4773713730356e960d91e844ca29dcef91 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>