cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in htmlb:tabcontrol with design2003?

Former Member
0 Kudos

BSP Experts: please clarify!!

I have the following scenario in my applicaiton:

I have used the htmlb:tabStrip tab strip and I am trying to avoid the server side event for tab selections. So I don't have onSelect function, instead I would like to write client side events for the same.

I have everything works fine in WAS if I run the BSP Applicaiton standalone using 'design2003' design parameters. But if I create an Iview for this BSP Applicaiton, I get the tab contents stacked in the page one after another. (I am having WAS6.4/BW3.5 and EP6.0 SP2 )

In oder to re-create the scenario in your system, please create a BSP page with the following code and create an Iview for the same. You will see the 2 images simultaniously in the BSP page.

This looks like a bug using the 'design2003'. I tried using classic / design 2002. they are working fine.

<%@page language="abap" %>

<%@extension name="htmlb" prefix="htmlb" %>

<htmlb:content id = "content"

controlRendering = "sap"

design = "design2003"

rtlAutoSwitch = "true" >

<htmlb:page>

<htmlb:form>

<htmlb:tabStrip id = "RepTab"

bodyHeight = "30px"

width = "100%" >

<htmlb:tabStripItem id = "TAB1"

index = "1"

title = "tab 1"

tooltip = "Select to see details of tab1" >

<htmlb:image id = "CVAR"

tooltip = "Change Variable Values"

src = "ICON_CHANGE" />

</htmlb:tabStripItem>

<htmlb:tabStripItem id = "TAB2"

index = "2"

title = "tab 2"

tooltip = "Select to see details of tab2" >

<htmlb:image id = "PRNT"

tooltip = "Print Preview"

src = "ICON_PRINT" />

</htmlb:tabStripItem>

</htmlb:tabStrip>

</htmlb:form>

</htmlb:page>

</htmlb:content>

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181879
Active Contributor
0 Kudos

Does the problem only happen when running BSP page in EP6?

One of the problems is that we load stylesheets from EP6, and that these are older than BSP shipped stylesheets. There is a note somewhere on this topic. If you should have this problem, email me that I lookup the note number for you.

Private_Member_9643
Active Contributor
0 Kudos

hi brian,

i also faced many times the same problem when i used design2003, but it works when i use design2002.

Like one time i used <b>html table</b> inside the <b>htmlb:TabStribItem</b>, so table is showing only few rows when i used design2003, but it works fine with design2002. So is it some restriction with design2003 that i have to only use htmlb tag inside htmlb tag. The problem i faced when i run BSP page normally, not in EP.

Regards,

kamaljeet

Former Member
0 Kudos

Yes, this problem still prevail.

Should I open an OSS or do I have a "Mr.Brain solution"

former_member181879
Active Contributor
0 Kudos

Unfortunately "Mr Brain" does not work here. We only have this guy called "Mr Brian", but he has no brains, just an old x86 CPU and 64KB memory.

Looking at your text: works standalone, but not in the portal, I would have first tipped in the direction of stylesheets. However, probably it has more to do with the size of the iframe during the time it is loaded.

Before we invest time to chase this, maybe you could look at alternatives: <<b>x</b>htmlb:tabStrip> is a much stronger tabstrip with a few more features. Maybe you could first test with it. One of the things it does is resize after a load. I am optimistic that this will work. There is also the <phtmlb:containerTabStrip>. Slightly different rendering to be compatible to all container* tags.

Should my optimism have been to much, route us an OSS message so that we look at the page, first standalone, and then inside EP. You can link to this thread in SDN, and request dispatching through to us.