Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Footer not working in my SAPUI5 application

I have a SAPUI5 application and I have placed a footer in this application however my footer is displayed at top of page instead of bottom.

    return new sap.m.Page({

        title: "test",

        content: oForm1,

        footer: new sap.m.Bar({

        })

    });

I have created a form in my app and it is not displayed as height is set to 0 pixel.

var oForm1 = new sap.ui.layout.form.Form("F1",{

        title: new sap.ui.core.Title({text: "(Un)Loading Checklist"}),

        layout: new sap.ui.layout.form.GridLayout(),

        formContainers: [

            new sap.ui.layout.form.FormContainer("F1C1",{

                title: "TEST",

                formElements: [

                ]

            })

        ]

    });

Please suggest.

   


1 Answer
SAP Expert

Try embedding page in “sap.m.App control”.

This is an example of showing and hiding footer, check this link:

UI5 Documentation

Advertisements

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.