- 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>
<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>