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

<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:p="http://primefaces.org/ui" xmlns:e="http://www.ivu.de/elect/tags">

    <!--@elvariable id="searchView" type="de.ivu.elect.presentation.personenpruefung.AbstractPersonenKonfliktSearchView<P>"-->

    <e:formSearch actions="#{searchViewMenu.menuModel}">
        <ui:define name="searchFilter">
            <e:filterPanel searchView="#{searchView}" updateOnPartialSubmit=":frmSearchResult">
                <ui:decorate template="/WEB-INF/templates/dyna-form.xhtml">
                    <ui:param name="model" value="#{searchView.searchFormModel}" />
                </ui:decorate>

                <ui:define name="buttons">
                    <p:commandButton id="btnKonflikteErneutPruefen" ajax="false"
                                     rendered="#{searchView.btnKonflikteErneutPruefenRendered}"
                                     disabled="#{searchView.btnKonflikteErneutPruefenDisabled}"
                                     action="#{searchView.konflikteErneutPruefen()}"
                                     value="#{msgs['person.konflikt.search.action.konflikte.erneut.pruefen']}"
                                     icon="#{icons.iconWarning}" />
                </ui:define>
            </e:filterPanel>
        </ui:define>

        <ui:define name="dataTable">
            <e:searchTable searchView="#{searchView}" actionMenu="#{searchViewActionMenu}" columnBuilder="#{searchViewColumnBuilder}" />
        </ui:define>
    </e:formSearch>
</ui:composition>
