Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Button does not appear in footer after run the application?

Dear Experts,

     I am doing the customizing and extending the standard application in the system exercise openSAP week one course. I am trying to extend the myBenefit standard apps by adding some buttons on the footer but it shows nothing in footer as i shown in my second photo. Anything wrong the button which i added as shown in the blue square box?

     Very appreciated to those reply my problem encountered. Kindly suggest solution if you have. Thanks

Regards,

Loh

Former Member
Former Member replied

use this templete,

<mvc:View

    controllerName="com.xyz.view.Detail"

    xmlns="sap.m"

    xmlns:core="sap.ui.core"

    xmlns:mvc="sap.ui.core.mvc"

    xmlns:l="sap.ui.layout"

    xmlns:f="sap.ui.layout.form">

    <Page

        id="detailPage"

        navButtonPress="onNavBack"

        title="{i18n>Title}"

        showNavButton="{device>/isPhone}">

        <content>

               <IconTabBar

                id="idIconTabBar"

                expanded="{device>/isNoPhone}">

                <items

                    id="Items">

                    <IconTabFilter text="{i18n>header}">

                        <content>

                            <f:SimpleForm

                                id="iconTabFilter1form"

                                minWidth="1024"

                                editable="false"

                                layout="ResponsiveGridLayout"

                                labelSpanL="3"

                                labelSpanM="3"

                                emptySpanL="4"

                                emptySpanM="4"

                                columnsL="1">

                                <f:content>

                                    <Label

                                        id="label1"

                                        text="{label}">

                                    </Label>

                                    <Text

                                        id="text1"

                                        text="{text}"

                                        maxLines="0">

                                    </Text>

                                        <core:ExtensionPoint

                                        name="extIconTabFilterForm1"/>

                                </f:content>

                            </f:SimpleForm>

                        </content>

                    </IconTabFilter>

                    <IconTabFilter text="{i18n>Details}">

                        <content>

                           

                        </content>

                    </IconTabFilter>

                    <core:ExtensionPoint

                        name="extIconTabFilter"/>

                </items>

            </IconTabBar>

            <core:ExtensionPoint

                name="extDetail"/>

        </content>

        <footer

            id="Footer">

            <Toolbar id="Toolbar">

                <content>

                    <ToolbarSpacer

                        id="toolbarSpacer">

                    </ToolbarSpacer>

                     <Button type="Accept" text="Approve" press="onApprove"></Button>

                     <Button type="Reject" text="Reject" press="onReject"></Button>

                </content>

            </Toolbar>

        </footer>

    </Page>

</mvc:View>

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question