<commit_before><!--
  ~ Copyright (c) 2008-2013 Haulmont. All rights reserved.
  ~ Use is subject to license terms, see http://www.cuba-platform.com/license for details.
  -->

<window xmlns="http://schemas.haulmont.com/cuba/5.0/window.xsd"
        class="com.haulmont.cuba.gui.app.core.sendingmessage.browse.SendingMessageBrowser"
        messagesPack="com.haulmont.cuba.gui.app.core.sendingmessage"
        lookupComponent="table"
        caption="msg://sendingMessage.browser.caption">
    <dsContext>
        <collectionDatasource
                id="sendingMessageDs"
                class="com.haulmont.cuba.core.entity.SendingMessage"
                view="sendingMessage.browse">
            <query>
                <![CDATA[select sm from sys$SendingMessage sm]]>
            </query>
        </collectionDatasource>
    </dsContext>
    <layout expand="hbox">
        <hbox id="hbox" spacing="true" width="100%" expand="leftBox">
            <vbox id="leftBox" expand="table" spacing="true" height="100%">
                <filter id="genericFilter" datasource="sendingMessageDs">
                    <properties include=".*"/>
                </filter>
                <table id="table" width="100%">
                    <rowsCount/>
                    <columns>
                        <column id="address"/>
                        <column id="from"/>
                        <column id="caption"/>
                        <column id="status"/>
                        <column id="dateSent"/>
                        <column id="updateTs"/>
                        <column id="attachmentsName"/>
                        <column id="attemptsCount"/>
                        <column id="deadline"/>
                        <column id="attemptsMade"/>
                    </columns>
                    <rows datasource="sendingMessageDs"/>
                </table>
            </vbox>
            <fieldGroup id="fg" datasource="sendingMessageDs" editable="false" border="visible" width="500px">
                <column width="100%">
                    <field id="address"/>
                    <field id="from"/>
                    <field id="caption"/>
                    <field id="contentText" custom="true"/>
                    <field id="status"/>
                    <field id="attachmentsName"/>
                    <field id="dateSent"/>
                    <field id="updateTs"/>
                    <field id="deadline"/>
                    <field id="attemptsCount"/>
                    <field id="attemptsMade"/>
                </column>
            </fieldGroup>
        </hbox>
    </layout><commit_msg>Add scroll to right panel in "Email history" screen #PL-3360<commit_after><!--
  ~ Copyright (c) 2008-2013 Haulmont. All rights reserved.
  ~ Use is subject to license terms, see http://www.cuba-platform.com/license for details.
  -->

<window xmlns="http://schemas.haulmont.com/cuba/5.0/window.xsd"
        class="com.haulmont.cuba.gui.app.core.sendingmessage.browse.SendingMessageBrowser"
        messagesPack="com.haulmont.cuba.gui.app.core.sendingmessage"
        lookupComponent="table"
        caption="msg://sendingMessage.browser.caption">
    <dsContext>
        <collectionDatasource
                id="sendingMessageDs"
                class="com.haulmont.cuba.core.entity.SendingMessage"
                view="sendingMessage.browse">
            <query>
                <![CDATA[select sm from sys$SendingMessage sm]]>
            </query>
        </collectionDatasource>
    </dsContext>
    <layout expand="hbox">
        <hbox id="hbox" spacing="true" width="100%" expand="leftBox">
            <vbox id="leftBox" expand="table" spacing="true" height="100%">
                <filter id="genericFilter" datasource="sendingMessageDs">
                    <properties include=".*"/>
                </filter>
                <table id="table" width="100%">
                    <rowsCount/>
                    <columns>
                        <column id="address"/>
                        <column id="from"/>
                        <column id="caption"/>
                        <column id="status"/>
                        <column id="dateSent"/>
                        <column id="updateTs"/>
                        <column id="attachmentsName"/>
                        <column id="attemptsCount"/>
                        <column id="deadline"/>
                        <column id="attemptsMade"/>
                    </columns>
                    <rows datasource="sendingMessageDs"/>
                </table>
            </vbox>
            <scrollBox width="500px" height="100%">
                <fieldGroup id="fg" datasource="sendingMessageDs" editable="false" border="visible" width="100%">
                    <column width="100%">
                        <field id="address"/>
                        <field id="from"/>
                        <field id="caption"/>
                        <field id="contentText" custom="true"/>
                        <field id="status"/>
                        <field id="attachmentsName"/>
                        <field id="dateSent"/>
                        <field id="updateTs"/>
                        <field id="deadline"/>
                        <field id="attemptsCount"/>
                        <field id="attemptsMade"/>
                    </column>
                </fieldGroup>
            </scrollBox>
        </hbox>
    </layout>
{'fraction_non_alphanumeric': 0.13400549954170485, 'fraction_numerical': 0.010999083409715857, 'mean_word_length': 1.40352422907489, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5111887', 'n_tokens_mistral': 1480, 'n_tokens_neox': 1305, 'n_words': 254}