Add showHomeButton to sap.m.Page
Please note that this is not a bug report, but a feature request.
In applications that have deep navigation structures, it will be necessary to press the back button multiple times to get back to the main menu. If an application is opened through a routing URL, it isn't even possible to reach the main menu using back buttons.
To make the application easier for users, a home button should be implemented. However, a home button requires the header of each page to be customized and is quite tedious.
It would be of great convenience, if a showHomeButton property would have been implemented, similar to the showNavButton. When the showHomeButton is set to true, a home button should appear at the left side of the back button. It would also be great if a custom handler can be attached to e.g. homeButtonPress
Hi Jan,
let's have product owner look at this.
@Thomas, can you comment?
Regards Andreas
Sounds reasonable to me. But I'd like to get some input from a developer next week. I'll keep you posted.
As it turns out, there's a plan to build a more generic page-like control. The details are still a bit sketchy. But it seems to also cover your home button requirement. Therefore, we won't be adding a showHomeButton property to sap.m.Page. I'll leave this request open and ask for your patience until we can provide more information.
Thanks for this Thomas. I'm looking forward to having a look at this new control. Hope you can keep us posted.
hi is showHomeButton property added to sap.m.Page?
Hi,
There were additional controls and concepts in the meantime which can help to fulfill this requirement. Please have a look at the following controls and samples for more details: https://openui5.hana.ondemand.com/entity/sap.f.ShellBar https://openui5.hana.ondemand.com/entity/sap.uxap.ObjectPageLayout/sample/sap.uxap.sample.ObjectPageOnJSON https://openui5.hana.ondemand.com/entity/sap.f.DynamicPage/sample/sap.f.sample.DynamicPageFreeStyle https://openui5.hana.ondemand.com/entity/sap.m.Breadcrumbs/sample/sap.m.sample.Breadcrumbs
Best Regards, Nikolay