Skip to Content
avatar image
Former Member

Switch Views on IconTabBar

Hello experts,

Currently I'm playing with the sap.m.icontabbar. I've placed a simple sap.m.Table (list with products) with a navigation to the product details (sap.m.list) on the first tab.

The current behavior is if I tap on a product item a new page opens with the product details and the Icon Tab Bar disappears.

What I want to do is a kind of navigation. I want to replace the products-table view with the product-details view so the Icon Tab Bar is still visible. If the navigation back is tapped on the product details, the products-table should be shown again.

It should look like the "Icon Tab Bar - Filter" in the OpenUI5 SDK - Demo Kit but with the possibility to show the details of each product.

How can I implement this?

best regards

Christian

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 28, 2014 at 01:00 PM

    I solved the problem.

    Each view has a method getContent( ) which returns a array. From there I got my child views.

    Best Regards,

    Christian

    Add comment
    10|10000 characters needed characters exceeded