Skip to Content
avatar image
Former Member

REG: How to add elements onto htmlb table cell.. URGENT PLZ HELP

Hi all,

I have created a htmlb table. And the jsp code is as follows

<%@ taglib uri="tagLib" prefix="hbj" %>

<jsp:useBean id="myBean" scope="application" class="com.linde.myaccounts.util.TableBean" />

<hbj:content id="myContext">

<hbj:page title="PageTitle">

<hbj:form id="myFormId" >

<hbj:tableView id="myTableView1"

model="myBean.model"

design="ALTERNATING"

headerVisible="false"

footerVisible="false"

fillUpEmptyRows="true"

visibleFirstRow="1"

visibleRowCount="5"

</hbj:form>

</hbj:page>

</hbj:content>

width="500 px" >

</hbj:tableView>

I have used a table bean by which I am getting the column header names. I have 5 columns, I have to add input field in the first column, checkbox in the second column, leave the third column blank, checkbox in the fourth column and again a input field in the fifth column. I am not understanding on how to add this elements onto the table. Will I add it from the JSP using <hbj:tableViewColumns> tag or I have add them in the bean or in the dynpage. Kindly someone give me the code for this...

This is very urgent..Kindly help...

Thanks in advance,

Priyanka

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 23, 2007 at 09:00 AM

    Hi,

    Have you tried looking at the examples that come with the PDK for all of the HTMLB elements? From memory, there should be a small table example or 2 that have different types of columns shown similar to what you want - they have the full source code with them for you to look at.

    If you are working in a portal, go to the Java Developer tab and I "think" there should be a tab linking to HTMLB documentation and examples - sorry I can't be more specific but I don't have access to a portal at the moment so am trying to remember.

    Gareth.

    Add comment
    10|10000 characters needed characters exceeded