<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
        caption="msg://browseCaption"
        class="com.company.pgproject.web.entrycontrolcertificatecommon.EntryControlCertificateCommonBrowse"
        focusComponent="entryControlCertificateCommonsTable"
        lookupComponent="entryControlCertificateCommonsTable"
        messagesPack="com.company.pgproject.web.entrycontrolcertificatecommon">
    <dsContext>
        <groupDatasource id="entryControlCertificateCommonsDs"
                         class="com.company.pgproject.entity.documents.executivedocument.EntryControlCertificateCommon"
                         view="entryControlCertificateCommon-browse">
            <query>
                <![CDATA[select e from pgprojectone$EntryControlCertificateCommon e]]>
            </query>
        </groupDatasource>
    </dsContext>
    <dialogMode height="600"
                width="800"/>
    <layout expand="entryControlCertificateCommonsTable"
            spacing="true">
        <filter id="filter"
                applyTo="entryControlCertificateCommonsTable"
                datasource="entryControlCertificateCommonsDs">
            <properties include=".*"/>
        </filter>
        <groupTable id="entryControlCertificateCommonsTable"
                    multiselect="true"
                    width="100%">
            <actions>
                <action id="edit"/>
                <action id="remove"/>
            </actions>
            <columns>
                <column id="name"/>
                <column id="date"/>
                <column id="nomenclature"
                        maxTextLength="80"/>
                <column id="comment"/>
            </columns>
            <rows datasource="entryControlCertificateCommonsDs"/>
            <rowsCount/>
            <buttonsPanel id="buttonsPanel"
                          alwaysVisible="true">
                <button id="editBtn"
                        action="entryControlCertificateCommonsTable.edit"/>
                <button id="removeBtn"
                        action="entryControlCertificateCommonsTable.remove"/>
                <button id="printList"
                        caption="mainMsg://printList"
                        icon="icons/reports-print.png"/>
            </buttonsPanel>
        </groupTable>
    </layout>
</window>
