<ui:composition
template="/WEB-INF/templates/base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets">
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <ui:define name="title"><ui:insert name="guest_title" class="guest_title" /></ui:define>
+ <ui:define name="title">
+ <ui:insert name="guest_title">Default guest title</ui:insert>
+ </ui:define>
- <!--
- Show basket if it contains items, else show an empty basket.
- //-->
- <ui:define name="basket">
- <ui:fragment rendered="#{basketController.isEmpty()}">
- <!-- Empty basket //-->
- <ui:include src="/WEB-INF/templates/basket/mini_basket_empty.tpl" />
- </ui:fragment>
+ <ui:define name="menu">
+ <ui:include id="menu" src="/WEB-INF/templates/guest/guest_menu.tpl" />
+ </ui:define>
- <ui:fragment rendered="#{basketController.hasItems()}">
- <!-- At least one item is there //-->
- <ui:include src="/WEB-INF/templates/basket/mini_basket.tpl" />
- </ui:fragment>
+ <ui:define name="footer">
+ <ui:include id="footer" src="/WEB-INF/templates/guest/guest_footer.tpl" />
</ui:define>
</ui:composition>