Advertisement
Guest User

view

a guest
Jul 23rd, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <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">
  2.         <App>
  3.             <pages>
  4.                 <Page id="page" title="{i18n>title}">
  5.                     <content>
  6.                         <Table delete="onDeleteItem" mode="Delete" alternateRowColors="true"
  7.                             items="{ path: '/', sorter: {path: 'surname' }, filters: [ { path: 'sex', operator: 'EQ', value1: 'woman' } ] }">
  8.                             <headerToolbar>
  9.                                 <Toolbar>
  10.                                     <content>
  11.                                         <ToolbarSpacer/>
  12.                                         <Button text="{i18n>addActor}" press="onAddActor"/>
  13.                                         <Button text="{i18n>addActorDialog}" press="onOpenDialog"/>
  14.                                     </content>
  15.                                 </Toolbar>
  16.                             </headerToolbar>
  17.                             <columns>
  18.                                 <Column>
  19.                                     <Text text="{i18n>name}"/>
  20.                                 </Column>
  21.                                 <Column>
  22.                                     <Text text="{i18n>surname}"/>
  23.                                 </Column>
  24.                                 <Column>
  25.                                     <Text text=""/>
  26.                                 </Column>
  27.                             </columns>
  28.                             <items>
  29.                                 <ColumnListItem type="Active" press="onPressItem">
  30.                                     <cells>
  31.                                         <Text text="{name}"/>
  32.                                         <Text text="{surname}"/>
  33.                                         <Image src="{image}" width="100px"/>
  34.                                     </cells>
  35.                                 </ColumnListItem>
  36.                             </items>
  37.                         </Table>
  38.                     </content>
  39.                 </Page>
  40.             </pages>
  41.         </App>
  42. </mvc:View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement