Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <mvc:View controllerName="sabris.com.Herci.controller.View1" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:mvc="sap.ui.core.mvc" displayBlock="true" xmlns="sap.m">
- <App>
- <pages>
- <Page id="page" title="{i18n>title}">
- <content>
- <Table delete="onDeleteItem" mode="Delete" alternateRowColors="true"
- items="{ path: '/', sorter: {path: 'surname' }, filters: [ { path: 'sex', operator: 'EQ', value1: 'woman' } ] }">
- <headerToolbar>
- <Toolbar>
- <content>
- <ToolbarSpacer/>
- <Button text="{i18n>addActor}" press="onAddActor"/>
- <Button text="{i18n>addActorDialog}" press="onOpenDialog"/>
- </content>
- </Toolbar>
- </headerToolbar>
- <columns>
- <Column>
- <Text text="{i18n>name}"/>
- </Column>
- <Column>
- <Text text="{i18n>surname}"/>
- </Column>
- <Column>
- <Text text=""/>
- </Column>
- </columns>
- <items>
- <ColumnListItem type="Active" press="onPressItem">
- <cells>
- <Text text="{name}"/>
- <Text text="{surname}"/>
- <Image src="{image}" width="100px"/>
- </cells>
- </ColumnListItem>
- </items>
- </Table>
- </content>
- </Page>
- </pages>
- </App>
- </mvc:View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement