cancel
Showing results for 
Search instead for 
Did you mean: 

Table Tag inside tabStripItem tag

Former Member
0 Kudos

Hello,

I am trying to include a <table> tage inside <tabstrip> <tabStripItem> tag but this is not visible and is not showing up on the screen. Is there any alternative to achieve this kind of functionality?

I can use gridlayout but I need to show the border of teh cell which is possible only with table tag.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

Hi Jayanthi,

you mean table tag inside <tabstripitem>, i have used it without issues. when you say not visible, do you mean that the rendered html doesnt have the table tag? may be can you post your layout code.

Regards

Raja

Former Member
0 Kudos

Hi Raja,

Here is the code:

<%@page language="abap" %>

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

<htmlb:content design="design2003">

<htmlb:page title = "Page for rejection comments ">

<htmlb:form id="formcomm" method="POST" action="comment.htm">

<htmlb:tabStrip id = "TabStrip1"

bodyHeight = "1000"

width = "100%" >

<htmlb:tabStripItem id = "TabStrip1_anal_item"

index = "1"

onSelect = "TAB1"

title = "General"

tooltip = "Create Analysis Sheet" >

<table border=1 bordercolor="black" width="100%"> <tr> <td>

Location

</td></tr>

</table>

</htmlb:tabStripItem>

</htmlb:tabStrip>

</htmlb:form>

</htmlb:page>

</htmlb:content>

After launching the page, I am able to view the Tabstrip code but not the table code anywhere when I view the source code from the browser.

athavanraja
Active Contributor
0 Kudos

the reason is that you are placing the table element in the tabstrip item (which is the tab itself) if you want the table to be in the body of the tabstrip use the following code

<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
  <htmlb:page title="Page for rejection comments " >
    <htmlb:form id     = "formcomm"
                method = "POST"
                action = "comment.htm" >
      	
      <htmlb:tabStrip id         = "TabStrip1"
                      bodyHeight = "1000"
                      width      = "100%" >
        		
        <htmlb:tabStripItem id       = "TabStrip1_anal_item"
                            index    = "1"
                            onSelect = "TAB1"
                            title    = "General"
                            tooltip  = "Create Analysis Sheet" >
          			
         <b> <htmlb:tabStripItemBody></b>
            <table border="1" bordercolor="blue" width="100%"> <tr> <td>Location</td></tr>
                      			</table>
          <b></htmlb:tabStripItemBody></b>
          			
          		
        </htmlb:tabStripItem>
        	
      </htmlb:tabStrip>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>

Regards

Raja

Former Member
0 Kudos

Raja, Thanks a lot for the help!

However, I am unable to reward any points as I cannot see the link for rewarding the points (the radio buttons next to ur reply)

athavanraja
Active Contributor
0 Kudos

the points system is down. do check back later to close the thread.

Regards

Raja

Answers (1)

Answers (1)

Former Member
0 Kudos

First just use very simple tableview commnad to see what u get.

Later on u can add options as u need.

<htmlb:tableView id = "TV"

table = "<%= userlist %>" />