]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/login/user/user_base.tpl
MOJARRA - Please cherry-pick:
[pizzaservice-war.git] / web / WEB-INF / templates / login / user / user_base.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         template="/WEB-INF/templates/base.tpl"
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:generic="http://mxchange.org/jsf/core"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7         xmlns:h="http://xmlns.jcp.org/jsf/html">
8
9         <ui:define name="title">
10                 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_AREA}" />
11                 <h:outputText value=" - " />
12                 <ui:insert name="login_title">
13                         <h:outputText value="Default login title" />
14                 </ui:insert>
15         </ui:define>
16
17         <ui:define name="menu">
18                 <generic:outputMessageBoxMini message="#{msg.USER_NOT_LOGGED_IN}" styleClass="errors" rendered="#{not userLoginController.isUserLoggedIn()}" />
19
20                 <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
21                         <ui:include id="menu" src="/WEB-INF/templates/login/user/user_menu.tpl" />
22                 </ui:fragment>
23         </ui:define>
24
25         <ui:define name="footer">
26                 <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
27                         <ui:include id="footer" src="/WEB-INF/templates/login/user/user_footer.tpl" />
28                 </ui:fragment>
29         </ui:define>
30 </ui:composition>