<ui:define name="title">
<h:outputText value="#{msg.PAGE_TITLE_ADMIN_AREA}" /> -
- <ui:insert name="admin_title">Default admin title</ui:insert>
+ <ui:insert name="admin_title">
+ <h:outputText value="Default admin title" />
+ </ui:insert>
</ui:define>
<ui:define name="menu">
<ui:composition
template="/WEB-INF/templates/base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+ xmlns:h="http://xmlns.jcp.org/jsf/html">
<ui:define name="title">
- <ui:insert name="guest_title">Default guest title</ui:insert>
+ <ui:insert name="guest_title">
+ <h:outputText value="Default guest title" />
+ </ui:insert>
</ui:define>
<ui:define name="menu">
xmlns:h="http://xmlns.jcp.org/jsf/html">
<ui:define name="title">
- <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_AREA}" /> - <ui:insert name="login_title">Default login title</ui:insert>
+ <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_AREA}" />
+ <h:outputText value=" - " />
+ <ui:insert name="login_title">
+ <h:outputText value="Default login title" />
+ </ui:insert>
</ui:define>
<ui:define name="menu">
- <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
- <ui:include id="menu" src="/WEB-INF/templates/login/user/user_menu.tpl" />
- </ui:fragment>
<ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
<ui:include src="/WEB-INF/templates/generic/message_box_mini.tpl">
<ui:param name="message" value="#{msg.USER_NOT_LOGGED_IN}" />
<ui:param name="styleClass" value="errors" />
</ui:include>
</ui:fragment>
+ <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
+ <ui:include id="menu" src="/WEB-INF/templates/login/user/user_menu.tpl" />
+ </ui:fragment>
</ui:define>
<ui:define name="footer">