Skip to Content
author's profile photo Former Member
Former Member

Bug in htmlb:tabcontrol with design2003?

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>

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 31, 2005 at 10:04 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.