]> git.mxchange.org Git - jfinancials-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:33:43 +0000 (18:33 +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 f54ae4a426d949e03c81c261970e7a3273728e7f..0bc8f17ca47f66b645ee3e9c9e2a8c687ef1bc4e 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>