<?xml version="1.0" encoding="UTF-8"?>

<ui:composition template="/WEB-INF/templates/page-layout.xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://xmlns.jcp.org/jsp/jstl/core" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html"
    xmlns:p="http://primefaces.org/ui" xmlns:e="http://www.ivu.de/elect/tags">

    <ui:define name="pageMenu">
        <c:choose>
            <c:when test="#{niederschriftPageMenu.rendered}">
                <e:formPageMenu model="#{niederschriftPageMenu.menuModel}" />
            </c:when>
            <c:otherwise>
                <ui:decorate template="/WEB-INF/templates/gebietsbaum/gebietsbaum.xhtml" />
            </c:otherwise>
        </c:choose>
    </ui:define>
</ui:composition>
