on 03-31-2006 1:43 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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 %>" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.