]> git.mxchange.org Git - addressbook-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:35:32 +0000 (18:35 +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 9317e85cacdd57cf202a37bc5a350f76719b873b..cf1264b0587c147f99bc101e1a3eda6d41ea351c 100644 (file)
                                        <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>
                                </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>