]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 29 Jul 2017 16:33:43 +0000 (18:33 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 29 Jul 2017 16:37:09 +0000 (18:37 +0200)
- let's show general error messages below footer and not within content's div
- still this may need to be hidden on prod servers (see project stage in web.xml)

Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/templates/base.tpl

index c752fe9ddddbe1a84087fc31f65ac9377b4992e1..7c24fdb158a013d05df7088f7e4c40e5d5198f17 100644 (file)
@@ -41,7 +41,7 @@
                                        <ui:include src="/WEB-INF/templates/generic/locale_selection_box.tpl" />
                                </div>
 
-                               <div id="content_outer" class="left_content">
+                               <h:panelGroup id="content_outer" styleClass="left_content" layout="block">
                                        <div id="content_header">
                                                <ui:insert name="content_header">Default content header</ui:insert>
                                        </div>
                                        <div id="content">
                                                <ui:insert name="content">Default content</ui:insert>
                                        </div>
-
-                                       <h:panelGroup styleClass="error_container" layout="block">
-                                               <h:messages showDetail="true" errorClass="errors" fatalClass="errors" warnClass="errors" />
-                                       </h:panelGroup>
-                               </div>
+                               </h:panelGroup>
 
                                <div class="clear"></div>
                        </h:panelGroup>
 
-                       <div id="page_footer">
+                       <h:panelGroup id="page_footer" layout="block">
                                <ui:insert name="footer">Default footer</ui:insert>
-                       </div>
+                       </h:panelGroup>
+
+                       <h:panelGroup styleClass="error_container" layout="block">
+                               <h:messages showDetail="true" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                       </h:panelGroup>
                </h:body>
        </f:view>
 </html>