Skip to Content
0
Former Member
Mar 10, 2004 at 06:49 AM

How to give the TableView id dynamically

29 Views

Hi,

I want to display my form data. In my page I have a header and a detailes section. My Details section repeates and I have to get a same table for mat for each item. The problem I'm facing here is I can't assign the TableView Id dynamically.

My Table:

<hbj:tableView

id="PartsTableView<%=cTab.getTabName()%>"

model="objClaimModule.partsModel"

headerText="Parts"

headerVisible="true"

footerVisible="false"/>

I'm trying to append the <%=cTab.getTabName()%> in a loop.

But When I run the page It's saying----

Form elements must have unique ids: PartsTableView (class com.sapportals.htmlb.table.TableView)

Can anyone throw some light????

Thanks In Advance