Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I set my own table row key for Trinidad's table tag?

 
Navnath Kumbhar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There,

I am using Trinidad's tags. Add table and added rows from Backing Bean by fetching records from Data base.
Also while selecting any record I can fetch column value very properly.
When I execute getRowKey() function to find out key value of row, I am getting 1,2,3...... which row I have selected.
Now the problem is I want to pass my own row key (Which is my primary key from database table) so that I can use it and find out record from database.

Can any one help me How can I set my own table row key for Trinidad's table tag?

Thank You,
Navnath Kumbhar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic