2 template="/WEB-INF/templates/base.tpl"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:ui="http://java.sun.com/jsf/facelets">
6 <ui:define name="title"><ui:insert name="guest_title" class="guest_title" /></ui:define>
9 Show basket if it contains items, else show an empty basketController.
11 <ui:fragment rendered="#{basketController.isEmpty()}">
12 <ui:include src="/WEB-INF/templates/basket/mini_basket_empty.tpl" />
14 <ui:fragment rendered="#{basketController.hasItems()}">
15 <ui:include src="/WEB-INF/templates/basket/mini_basketController.tpl" />