cancel
Showing results for 
Search instead for 
Did you mean: 

TabStrip Example

Former Member
0 Kudos

Hi,

I am new to webDynpro.. i have gone through the TabStrip example pdf (23) which is not clear.... so please give me if u have any other examples on TabStrip..... my mail id is <b>ravishankar_234@yahoo.co.in</b>.. please help me..

Thanks & Regrads

Ravi Shankar B

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Step 1:

Create Tabstrip UI Element. Then right click tabstrip choose Insert Tab. Like you can add more than one tab.

step 2:

If you want do some action on the click of tab strib then create one action for Tabstrip's OnSelect.

Step 3:

Bind one variable to Tabstrip's SelectedTab property. If you want to select particular tab while loading the view then set like(Tabe2 is second tab id)

wdContext.currentContextElement().setTab("Tab2");

step 4:

Inside action you can get selected tab like

String tab=wdContext.currentContextElement().getTab();

Then you can check tab valriable. Based on that you can do your own business logic. You can set visible property fo tab.

Kind Regards,

S.Saravanan.

sridhar_k2
Active Contributor
0 Kudos

Hi Ravi,

If you want to create a TabStrip Control Follow the below steps. This is a basic procedure.

One Way -From the View.

1) create a tabstrip element (Layout - Select Tabstrip).

2) Insert a tab to the element (Right Click - Insert Tab).

3) In the tab content Right click--> Insert child --> View container element.

Another Way - Windows - If you want to Add views to TabStip .

Windows -> Open your window -> Select View Set from Controls. ViewSetDefinition as Tab Strip.

You can embed iview into this TabStip - tabs.

Make default property as true.

Hope it give you basic idea. If you struck somewhere, ping me back.

Regards,

Sridhar

vijayakhanna_raman
Active Contributor
0 Kudos

Hi,

Check this thread,

SAP WD UI ELEMENT BOOK:Shortcut to:

View – Programming

UI and Navigation: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-fdb0-ec3...

regards,

Vijayakhanna Raman