<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" xmlns:core="sap.ui.core"
          controllerName="sap.ovp.cards.rta.SelectLinks">

    <Toolbar>
        <Title text="{ovpResourceModel>OVP_KEYUSER_APPLICATIONS_DIALOG}({/NoOfLinks})" class="sapUiSmallMarginBegin"/>
        <ToolbarSpacer/>
        <SearchField placeholder="{ovpResourceModel>OVP_KEYUSER_PLACEHOLDER_FOR_SEARCH}" width="40%" search="filterTable"
                     class="{= ${tableRows>/densityStyle} === 'compact' ? 'sapUiSizeCompact' : ''}"/>
    </Toolbar>

    <ScrollContainer id="linksScrollContainer"
                     class="sapOvpScrollContainer"
                     width="100%"
                     horizontal="false"
                     vertical="true"
                     focusable="true">
        <Table id="LinkTable" sticky="ColumnHeaders" inset="false" fixedLayout="false"
               items="{/links}">
            <columns>
                <Column>
                    <Label text="{ovpResourceModel>OVP_KEYUSER_TABLE_TITLE_APPLICATION_NAME}" />
                </Column>
                <Column>
                    <Label text="{ovpResourceModel>OVP_KEYUSER_TABLE_TITLE_TECHNICAL_NAME}" />
                </Column>
            </columns>
            <items>
                <ColumnListItem type="Active" press="onItemPress">
                    <cells>
                        <Text text="{name}"/>
                        <Text text="{value}"/>
                    </cells>
                </ColumnListItem>
            </items>
        </Table>
    </ScrollContainer>
</mvc:View>