cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro Tab strip event

Former Member
0 Kudos

Hi

How do I know which tab in a tab strip does the user select?

I want to use a calculated attribute method to do something if for example the third tab is selected.

Thanks

Yuval

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Bind the TabStrip.selectedTab property to a context attribute (string). Then you can set/get the ID of the selected tab from within the view controller.

Armin

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi!

to know which tab is selected ..use this method.

wdContext.currentContextElement().getTabSelect()

Former Member
0 Kudos

Hi,

write an action method and map ii to the onSelect event of the Tab strip.

In the action method check the ID of the tab and perform the required action