14.01.2020 Views

ABAP_to_the_Future

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

13

SAPUI5

<items>

<ColumnListItem>

<cells>

<Text text="{MonsterItem}" />

<Text text="{PartCategory}" />

<Text text="{PartDescription}" />

<Text text="{PartQuantity}" />

</cells>

</ColumnListItem>

</items>

</Table>

</content>

Listing 13.15 Defining the Table of Monster Items for a Given Monster

Figure 13.35 Dialog Box with Item Table

In Listing 13.16, you add some buttons at the bottom. Two of them ask the controller

to call a function wh en the button is pressed; the Rampage button is just

there for fun. The completed dialog box, along with the buttons at the bottom, is

shown in Figure 13.36.

<buttons>

<Button text="Rampage"

icon="sap-icon://physical-activity" />

606

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!