cancel
Showing results for 
Search instead for 
Did you mean: 

Tabstrip - start first link relative to tabstripitem

Former Member
0 Kudos

Hello,

In my BSP page, I have 2 frames. In the top, the tabstrip with several tabstripitems. In each tabstripitem, I have links on BW web templates. These web templates are carried out within the bottom frame.

Is it possible when changing of tabstripitem to start the first link (by default) relative to the tabstripitem in the bottom frame.

Regards

Jacques

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Raja,

I think my explanations was not very clear.

The tabstrip has 4 items that provide us the main menu.

Under each tabstripitem, we only have a line with several links, each link allows us to start a BW Web Template. In fact, this is a sub-menu.

Under these 2 lines, we have a big frame to display the result of the BW Web Template.

For instance, the tabstrip contains 4 items:

Menu 1 | Menu 2 | Menu 3 | Menu 4

When clicking on Menu 1, following line is displayed

Menu 1-1 | Menu 1-2 | Menu 1-3

When clicking on Menu 2, following line is displayed

Menu 2-1 | Menu 2-2 | Menu 2-3

And when clicking on Menu 2-2, a BW web template is displayed on the big frame in the bottom of the screen

What I want to do is:

When I click on Menu 2, I would like that the BW web template linked with menu 2-1 is displayed by default on the big frame.

And wWhen I click on Menu 1, I would like that the BW web template linked with menu 1-1 is displayed by default on the big frame.

Best Regards

Jacques

Former Member
0 Kudos

Hi Jacques,

On click on the tabstrip item, read the selected tabstrip item in your OnInputProcessing and set an attribute <i>l_link</i> accordingly.

In the layout use the following code.

<script>

window.open('<%=l_link%>','bottom_frame_id');

</script>

Regards,

Alwyn

Former Member
0 Kudos

Hello Alwyn,

Thanks a lot for the solution.

Jacques

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

yes it is possible. on change of table strip construct the URL for the iframe (BW webtemplate url) and pass it to a ABAP variable. which you can pass to iframe like below.

<ifram src="<%= ABAP variable holding BW URL>"

Regards

Raja