cancel
Showing results for 
Search instead for 
Did you mean: 

web dynpro change visible tab in tabstrip layout

Former Member
0 Kudos

Hi,

I have two tabs in a tabstrip. How can I display the second tab in the layout design?

I can add elements to the second tab, but only the first tab is visible.

Thank you.

Regards,
Leandro.

Message was edited by: Leandro Coutinho "two" and not "to"

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi Leandro,

Instead of putting content directly into each Tab in the Tabstrip, insert a ViewContainerUIElement into each Tab. You can then create a separate View to hold the content of each Tab. In the Window, embed the appropriate Views into their corresponding ViewContainerUIElements. Then you can edit the content of each Tab by editing its embedded View.

Cheers,

Amy

Former Member
0 Kudos

Hi Amy,

Nice idea. But are you sure that is not possible to display other tabs in the tabstrip layout?

Take a look at this document:

http://scn.sap.com/docs/DOC-2238

Page: 12

It's showing the second tab.

Thank you.

Regards,

Leandro.

amy_king
Active Contributor
0 Kudos

Hi Leandro,

In the view layout, set the Tabstrip's selectedTab property to the Tab you want to see.

Cheers,

Amy

Former Member
0 Kudos

So simple solution.

Thank you Amy.

Answers (1)

Answers (1)

Former Member
0 Kudos